qemu-system-x86 nested virtualisation is broken on AMD system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I am reporting this bug against qemu-system-
in the Ubuntu cloud archive.
# lsb_release -rd
Description: Ubuntu 14.04.3 LTS
Release: 14.04
# apt-cache policy qemu-system-x86
qemu-system-x86:
Installed: 1:2.3+dfsg-
Candidate: 1:2.3+dfsg-
What is happening:
Version 1:2.2+dfsg-
seems to be dropping the svm (AMD nested virtualization) flag from virtual
machines, despite it being specified in the CPU type. So nested virtualisation
has stoppped working.
What I expect to happen:
svm CPU flag to be passed through to guests.
Version 1:2.3+dfsg-
Version 2.0.0+dfsg-
This has been tested with libvirt-bin version 1.2.12-0ubuntu14. The processor
is Version: AMD Opteron(TM) Processor 6238.
# cat /sys/module/
1
# modinfo kvm_amd | grep nested
parm: nested:int
The qemu command line includes the following cpu argument::
-cpu Opteron_
mp_legacy,
Changed in qemu (Ubuntu): | |
status: | Incomplete → New |
Thanks for reporting this bug.
Could you please show the vm xml (virsh dumpxml domain_name) and the full qemu/kvm command (ps -auxw | egrep -e '(qemu|kvm)' )?