diff --git a/docs/cpu.md b/docs/cpu.md index 5dd797315..56e7f3aec 100644 --- a/docs/cpu.md +++ b/docs/cpu.md @@ -18,11 +18,12 @@ struct CpusConfig { max_phys_bits: u8, affinity: Option>, features: CpuFeatures, + nested: bool, } ``` ``` ---cpus boot=,max=,topology=:::,kvm_hyperv=on|off,max_phys_bits=,affinity=,features= +--cpus boot=,max=,topology=:::,kvm_hyperv=on|off,max_phys_bits=,affinity=,features=,nested=on|off ``` ### `boot` @@ -209,3 +210,14 @@ _Example_ ``` In this example the amx CPU feature will be enabled for the VMM. + + +### `nested` + +Enable nested virtualization (default on). Nested virtualization is needed to access hardware virtualization by this guest. This option can only be changed on x86-64. + +_Example_ + +``` +--cpus nested=on +``` \ No newline at end of file