docs: update CPU option examples

Use the structured --cpus boot= syntax in cloud-hypervisor launch
examples so they match the current VM config parser.

On-behalf-of: SAP philipp.schuster@sap.com
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This commit is contained in:
Philipp Schuster
2026-06-30 13:36:41 +02:00
committed by Bo Chen
parent cc6426d87c
commit 00a713e5ba
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ to easily grep for the tracing logs (e.g.
./target/debug/cloud-hypervisor \
--kernel ~/rust-hypervisor-firmware/target/release/hypervisor-fw \
--disk path=~/hypervisor/images/focal-server-cloudimg-amd64.raw \
--cpus 4 \
--cpus boot=4 \
--memory size=1024M \
--rng \
--log-file /tmp/ch-fw.log \

View File

@@ -85,7 +85,7 @@ takes the device's sysfs path as an argument. In our example it is
--console off \
--serial tty \
--cmdline "console=ttyS0 root=/dev/vda1 rw" \
--cpus 4 \
--cpus boot=4 \
--memory size=512M \
--device path=/sys/bus/pci/devices/0000:01:00.0/
```