cloud-hypervisor/hypervisor/src
Alyssa Ross 755cabea4c hypervisor: use proper doc tests for examples
It seems like these examples were always intended to be doctests,
since there are lines marked with "#" so that they are excluded from
the generated documentation, but they were not recognised as doc tests
because they were not formatted correctly.

The code needed some adjustments so that it would actually compile and
run as doctests.

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: use proper doc tests for examples 2023-04-05 11:22:47 +01:00
mshv hypervisor: use proper doc tests for examples 2023-04-05 11:22:47 +01: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