On 18.11.2013 17:11, Paolo Bonzini wrote:
Il 18/11/2013 16:37, Peter Lieven ha scritto:
If I specify: -smp 2,sockets=1,cores=2,threads=1 to a Windows 2012 R2
Server it crashes
at boot time. -smp 2 works.
for Linux /proc/cpuinfo reveals no cpu layout information (sibliings,
cores, threads etc.) with
this patch applied and a manual socket,core,thread configuration.
What's the full command line?
~/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 -smp 2,cores=2,threads=1,sockets=1 -cpu
host -monitor stdio -vnc :1 -enable-kvm -usb -usbdevice tablet -vga cirrus -global virtio-blk-pci.scsi=off -serial null -parallel null -boot c
With just -smp 2 it works. However, have a look at my other email I think there
is a bug in smp_parse, because -smp 2 yields cpus=2,cores=1,threads=1,sockets=1
whereas I think cores should
be 2.
Peter