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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue