mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +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;
|
||||
self.create_vm_with_type(vm_type)
|
||||
}
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
///
|
||||
/// Get the supported CpuID
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user