cde:info Mirrored with LTC bug https://bugzilla.linux.ibm.com/show_bug.cgi?id=159921 </cde:info>
Run qemu with maxcpus with negative number.
# /usr/bin/qemu-system-ppc64 --nographic -vga none -machine pseries,accel=kvm,kvm-type=HV -m 2G,slots=32,maxmem=16G -device virtio-blk-pci,drive=rootdisk -drive file=/home/nasastry/hostos-3.0-ppc64le.qcow2,if=none,cache=none,id=rootdisk,format=qcow2 -net nic,model=virtio -smp 8,cores=1,threads=1,maxcpus=-12
(process:26151): GLib-ERROR **: gmem.c:130: failed to allocate 18446744073709550568 bytes
Trace/breakpoint trap
Though issue #15 and this looks similar by error message. Code changes needed in different places.