Nested-virt)L1 (kvm on kvm)guest panic with parameter “-cpu host” in qemu command line.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Environment:
------------
Host OS (ia32/ia32e/
Guest OS (ia32/ia32e/
Guest OS Type (Linux/
kvm.git Commit:
qemu-kvm Commit:
Host Kernel Version:3.4.0-rc3
Hardware:WSM-EP, Romley-EP
Bug detailed description:
-------
(KVM on KVM) L1 guest panic when starting the L1 guest with “-cpu host” parameter in qemu command line.
Note:
1. when creating guest with “-cpu qemu64,+vmx”, L1 guest and L2 guest can boot
up.
2. This should be a qemu-kvm bug. using '-cpu host' parameter, the following is the result.
Kvm + qemu-kvm =result
19853301 + 69abebf2 = bad
19853301 + 44755ea3 = good
3. when booting up the guest with the good commit of 19853301 + 44755ea3, you can see some
error info, but nested virt works fine. (L1 and L2 guest can boot up.)
“error: feature "i64" not available in set
error: bad option value [extfeature_edx = i64 xd syscall]”
some logs
[root@vt-snb9 x86_64-softmmu]# ./qemu-
error: feature "i64" not available in set
error: bad option value [extfeature_edx = i64 xd syscall]
error: feature "i64" not available in set
error: bad option value [extfeature_edx = i64 xd syscall]
error: feature "i64" not available in set
error: bad option value [extfeature_edx = i64 syscall xd]
error: feature "i64" not available in set
error: bad option value [extfeature_edx = i64 syscall xd]
VNC server running on `::1:5900'
Reproduce steps:
----------------
1.start up a host with kvm (commit: 19853301)
2.rmmod kvm_intel
3.modprobe kvm_intel nested=1
4.qemu-
Current result:
----------------
L1 guest panic.
Expected result:
----------------
L1 guest and L2 guest boot up correctly.
Basic root-causing log:
-------
Changed in qemu: | |
status: | New → Fix Released |
Can you please check if you run "qemu-system-x86_64 -m 2048 -hda L1-kvm.img -cpu host" but *without * the nested=1 module option, does L1 also panic, or not?