[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1705717] [NEW] Live migration fails with 'host' cpu wh
From: |
hbagdi |
Subject: |
[Qemu-devel] [Bug 1705717] [NEW] Live migration fails with 'host' cpu when KVM is inserted with nested=1 |
Date: |
Fri, 21 Jul 2017 14:09:51 -0000 |
Public bug reported:
Qemu v2.9.0
Linux kernel 4.9.34
Live migration(pre-copy) being done from one physical host to another:
Source Qemu:
sudo qemu-system-x86_64 -drive file=${IMAGE_DIR}/${IMAGE_NAME},if=virtio -m
2048 -smp 1 -net nic,model=virtio,macaddr=${MAC} -net
tap,ifname=qtap0,script=no,downscript=no -vnc :1 --enable-kvm -cpu kvm64 -qmp
tcp:*:4242,server,nowait
And KVM is inserted with nested=1 on both source and destination
machine.
Migration fails with a nested specific assertion failure on destination
at target/i386/kvm.c +1629
Migration is successful in the following cases-
A) cpu model is 'host' and kvm is inserted without nested=1 parameter
B) If instead of 'host' cpu model, 'kvm64' is used (KVM nested=1)
C) If instead of 'host' cpu model, 'kvm64' is used (KVM nested=0)
D) Between an L0 and a guest Hypervisor L1, with 'kvm64' as CPU type (and
nested=1 for L0 KVM)
Physical host(s)-
$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 12
On-line CPU(s) list: 0-11
Thread(s) per core: 1
Core(s) per socket: 6
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 62
Model name: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
Stepping: 4
CPU MHz: 1200.091
CPU max MHz: 2600.0000
CPU min MHz: 1200.0000
BogoMIPS: 4203.28
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 15360K
NUMA node0 CPU(s): 0-5
NUMA node1 CPU(s): 6-11
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est
tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt
tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm epb tpr_shadow vnmi
flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts
** Affects: qemu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1705717
Title:
Live migration fails with 'host' cpu when KVM is inserted with
nested=1
Status in QEMU:
New
Bug description:
Qemu v2.9.0
Linux kernel 4.9.34
Live migration(pre-copy) being done from one physical host to another:
Source Qemu:
sudo qemu-system-x86_64 -drive file=${IMAGE_DIR}/${IMAGE_NAME},if=virtio -m
2048 -smp 1 -net nic,model=virtio,macaddr=${MAC} -net
tap,ifname=qtap0,script=no,downscript=no -vnc :1 --enable-kvm -cpu kvm64 -qmp
tcp:*:4242,server,nowait
And KVM is inserted with nested=1 on both source and destination
machine.
Migration fails with a nested specific assertion failure on
destination at target/i386/kvm.c +1629
Migration is successful in the following cases-
A) cpu model is 'host' and kvm is inserted without nested=1 parameter
B) If instead of 'host' cpu model, 'kvm64' is used (KVM nested=1)
C) If instead of 'host' cpu model, 'kvm64' is used (KVM nested=0)
D) Between an L0 and a guest Hypervisor L1, with 'kvm64' as CPU type (and
nested=1 for L0 KVM)
Physical host(s)-
$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 12
On-line CPU(s) list: 0-11
Thread(s) per core: 1
Core(s) per socket: 6
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 62
Model name: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
Stepping: 4
CPU MHz: 1200.091
CPU max MHz: 2600.0000
CPU min MHz: 1200.0000
BogoMIPS: 4203.28
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 15360K
NUMA node0 CPU(s): 0-5
NUMA node1 CPU(s): 6-11
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est
tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt
tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm epb tpr_shadow vnmi
flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1705717/+subscriptions
- [Qemu-devel] [Bug 1705717] [NEW] Live migration fails with 'host' cpu when KVM is inserted with nested=1,
hbagdi <=