mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-18 10:35:23 +00:00
hypervisor: mshv: Reduce the visbility of get_supported_cpuid to x86
Supported CPUID could only be fetched for x86_64 guests. Signed-off-by: Jinank Jain <jinankjain@microsoft.com>
This commit is contained in:
parent
719cae217e
commit
3a60c65369
@ -340,6 +340,7 @@ impl hypervisor::Hypervisor for MshvHypervisor {
|
|||||||
let vm_type = 0;
|
let vm_type = 0;
|
||||||
self.create_vm_with_type(vm_type)
|
self.create_vm_with_type(vm_type)
|
||||||
}
|
}
|
||||||
|
#[cfg(target_arch = "x86_64")]
|
||||||
///
|
///
|
||||||
/// Get the supported CpuID
|
/// Get the supported CpuID
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user