Closed nasastry closed 6 years ago
This hits in upstream qemu aswell, https://github.com/qemu/qemu/commit/530049bc1dcc24c1178a29d99ca08b6dd08413e0
./ppc64-softmmu/qemu-system-ppc64 -M pseries,max-cpu-compat=power9 -smp 8,threads=1,cores=1,maxcpus=-1 -m 8192 -nographic -enable-kvm /home/sath/hostos-3.0-ppc64le.qcow2 -monitor stdio -serial /dev/pts/3
QEMU 2.10.50 monitor - type 'help' for more information
(qemu)
(process:38588): GLib-ERROR **: gmem.c:130: failed to allocate 18446744073709551536 bytes
Trace/breakpoint trap
0001-Fixup-Add-check-for-negative-vcpu-values.txt
Tried fixing it , let me know if approach is fine, will send it upstream, Thanks in advance
Tried fixing it in qemu, let me know if approach is fine, will send it upstream, Thanks in advance
------- Comment From alexey@au1.ibm.com 2018-02-01 22:34:15 EDT------- Fixed by upstream, "-smp 8,cores=1,threads=1,maxcpus=-12 " produces qemu-system-ppc64: Invalid SMP CPUs -12. The max CPUs supported by machine 'pseries-2.12' is 1024
and does not crash any more.
------- Comment From nasastry@in.ibm.com 2018-02-15 04:00:52 EDT------- With qemu-system-ppc-2.11.0-1.rel.gite7153e0.el7.centos.ppc64le
qemu process quits with a proper error. This bugzilla can be closed.
qemu-system-ppc64: Invalid SMP CPUs -12. The max CPUs supported by machine 'pseries-2.11' is 1024