Hi, All,

I'm using qemu-system-x86_64 in stable-2.1 and trying to use cpu pass-through 
(-cpu host) to emulate my host processor architecture, which is Intel Xeon CPU 
E5-2670 2.6GHz, 16 cores (2Sockets, 8Cores/Socket, 2Numa nodes).
But it seems that the virtual machine is stuck at somewhere, can not be 
launched.



The command I used to launch virtual machine is as follows.
/usr/local/qemu-2.1/bin/qemu-system-x86_64 -enable-kvm -boot c -cpu host -smp 
16,sockets=2,cores=8,threads=1 -numa node,cpus=0-7 -numa node,cpus=8-15 -m 
24576 -hda /var/lib/libvirt/images/test1.img -net 
nic,macaddr=52-54-00-12-34-4,model=virtio -net tap,ifname=tap0,script=no 
-device pci-assign,host=02:01.0,id=hostdev0



However, if I use "-cpu SandyBridge" the virtual machine can be launched, but 
L3 cache size is is missing in VM. I tried qemu-1.7 earlier, it's also same 
issue.


Is there any idea on how to fix it? Any help would be appreciated!


The "lscpu" output of host cpu is as follows:
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                16
On-line CPU(s) list:   0-15
Thread(s) per core:    1
Core(s) per socket:    8
CPU socket(s):         2
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 45
Stepping:              7
CPU MHz:               2600.038
BogoMIPS:              5199.26
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              20480K
NUMA node0 CPU(s):     0-7
NUMA node1 CPU(s):     8-15

Reply via email to