cloud-hypervisor/hypervisor/src/kvm
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
..
aarch64 hypervisor: kvm: aarch64: remove repetition in offset_of 2022-12-16 17:04:43 +00:00
x86_64 arch, hypervisor: Populate CPUID leaf 0x4000_0010 (TSC frequency) 2023-02-09 18:32:21 +01:00
mod.rs hypervisor: use proper doc tests for examples 2023-04-05 11:22:47 +01:00