mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
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:
committed by
Bo Chen
parent
cc6426d87c
commit
00a713e5ba
@@ -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 \
|
||||
|
||||
@@ -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/
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user