Hi Salil,

On 10/1/25 11:01 AM, [email protected] wrote:

===================
(VII) Commands Used
===================

A. Qemu launch commands to init the machine (with 6 possible vCPUs):

$ qemu-system-aarch64 --enable-kvm -machine virt,gic-version=3 \
-cpu host -smp cpus=4,disabled=2 \
-m 300M \
-kernel Image \
-initrd rootfs.cpio.gz \
-append "console=ttyAMA0 root=/dev/ram rdinit=/init maxcpus=2 acpi=force" \
-nographic \
-bios QEMU_EFI.fd \


The parameter 'disabled=2' isn't correct here and it needs to be 
'disabledcpus=2'.
Otherwise, the VM won't be started due to the unrecognized parameter.

$ /home/gavin/sandbox/qemu.main/build/qemu-system-aarch64       \
  --enable-kvm -machine virt,gic-version=3 -cpu host,sve=off    \
  -smp cpus=4,disabled=2 -m 1024M                               \
  -kernel /home/gavin/sandbox/linux.guest/arch/arm64/boot/Image \
  -initrd /home/gavin/sandbox/images/rootfs.cpio.xz -nographic
qemu-system-aarch64: Parameter 'smp.disabled' is unexpected

Thanks,
Gavin


Reply via email to