Il 19/11/2013 13:32, Peter Lieven ha scritto: >> >> + >> + /* We give out APIC IDs ourselves, so force bits 31..26 even >> for "-cpu host". */ >> + if (cs->nr_cores > 1) { >> + *eax |= (cs->nr_cores - 1) << 26; >> } >> break; >> case 5: > > I already tried exactly this fix. Its reading index 0x0000004 for > increasing indexes until qemu aborts:
Oops, it should be I guess "if ((*eax & 31) && cs->nr_cores > 1)". Paolo > ~/git/qemu$ x86_64-softmmu/qemu-system-x86_64 -m 2048 -drive > if=virtio,file=iscsi://172.21.200.45/iqn.2001-05.com.equallogic:0-8a0906-9d95c510a-344001d54795289f-2012-r2-1-7-0/0,format=raw,cache=writeback,aio=native > -cpu host -monitor stdio -vnc :1 -enable-kvm -usb -usbdevice tablet -vga > cirrus -global virtio-blk-pci.scsi=off -smp > 4,cores=4,threads=1,sockets=1 -serial null -parallel null -boot c