cloud-hypervisor/hypervisor/src
Alyssa Ross 1ed4898d28 hypervisor: fix building doctests
When doctests are built, the crate is built with itself as a
dependency via --extern.  This causes a compiler error if using a
module with the name same as the crate, because it's ambiguous whether
it's referring to the module, or the extern version of the crate, so
it's necessary to disambiguate when using the hypervisor module here.

Fixes running cargo test --doc --workspace.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
2023-04-05 11:22:47 +01:00
..
arch hypervisor: x86: emulate MOVSB 2023-01-27 21:14:38 +00:00
kvm hypervisor: rename get_cpuid to get_supported_cpuid 2023-02-23 13:03:12 +00:00
mshv hypervisor: rename get_cpuid to get_supported_cpuid 2023-02-23 13:03:12 +00:00
cpu.rs arch, hypervisor: Populate CPUID leaf 0x4000_0010 (TSC frequency) 2023-02-09 18:32:21 +01:00
device.rs hypervisor, vmm: use new vfio-ioctls 2022-07-21 23:37:53 +01:00
hypervisor.rs hypervisor: rename get_cpuid to get_supported_cpuid 2023-02-23 13:03:12 +00:00
lib.rs hypervisor: fix building doctests 2023-04-05 11:22:47 +01:00
vm.rs hypervisor: Support compiling "tdx" and "mshv" feature together 2022-09-27 14:30:49 +01:00