From 00a713e5bab623ed690b2ef980f9f0436f21d44d Mon Sep 17 00:00:00 2001 From: Philipp Schuster Date: Tue, 30 Jun 2026 13:36:41 +0200 Subject: [PATCH] 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 --- docs/debug-port.md | 2 +- docs/vfio.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/debug-port.md b/docs/debug-port.md index 490fae092..d2273f58e 100644 --- a/docs/debug-port.md +++ b/docs/debug-port.md @@ -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 \ diff --git a/docs/vfio.md b/docs/vfio.md index 9bdf37732..3cab21b36 100644 --- a/docs/vfio.md +++ b/docs/vfio.md @@ -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/ ```