Tested with QEMU 2.10.0 from upstream, this issue still exist. Tested with kvm_unit_test from upstream, this issue has gone with QEMU 2.5.0
$ sudo ./arm/run arm/selftest.flat -smp 2 -m 256 -append 'setup smp=2 mem=256' /usr/bin/qemu-system-aarch64 -nodefaults -machine virt,gic-version=host,accel=kvm -cpu host -device virtio-serial-device -device virtconsole,chardev=ctd -chardev testdev,id=ctd -device pci-testdev -display none -serial stdio -kernel arm/selftest.flat -smp 2 -m 256 -append setup smp=2 mem=256 # -initrd /tmp/tmp.NRvKU9inc7 PASS: selftest: setup: smp: nr_cpus = 2 PASS: selftest: setup: mem: size = 256 MB SUMMARY: 2 tests
I will update the kvm_unit_test in our repo.
Tested with QEMU 2.10.0 from upstream, this issue still exist.
Tested with kvm_unit_test from upstream, this issue has gone with QEMU 2.5.0
$ sudo ./arm/run arm/selftest.flat -smp 2 -m 256 -append 'setup smp=2 mem=256' qemu-system- aarch64 -nodefaults -machine virt,gic- version= host,accel= kvm -cpu host -device virtio- serial- device -device virtconsole, chardev= ctd -chardev testdev,id=ctd -device pci-testdev -display none -serial stdio -kernel arm/selftest.flat -smp 2 -m 256 -append setup smp=2 mem=256 # -initrd /tmp/tmp.NRvKU9inc7
/usr/bin/
PASS: selftest: setup: smp: nr_cpus = 2
PASS: selftest: setup: mem: size = 256 MB
SUMMARY: 2 tests
I will update the kvm_unit_test in our repo.