From 5fb50edb5541ebbc6110b65160fa19f6f22d3bb0 Mon Sep 17 00:00:00 2001 From: Muminul Islam Date: Mon, 1 Dec 2025 12:02:36 -0800 Subject: [PATCH] docs: update guide for nested CPU feature This patch updates the documentation to reflect the newly added nested CPU feature option in the CLI. Signed-off-by: Muminul Islam --- docs/cpu.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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