DescriptionVitaly Kuznetsov
2020-04-09 15:39:19 UTC
Description of problem:
Kata folks report that QEMU-4.2+ is not able to start a VM on Azure:
with
qemu-system-x86_64: error: failed to set MSR 0x48b to 0x1582e00000000
qemu-system-x86_64: /root/qemu/target/i386/kvm.c:2947: kvm_put_msrs: Assertion
`ret == cpu->kvm_msr_buf->nmsrs' failed.
(see https://www.mail-archive.com/qemu-devel@nongnu.org/msg665051.html)
this only happens if VMX feature is enabled but this is now the default.
The upstream commit fixing the problem is:
commit 4a910e1f6ab4155ec8b24c49b2585cc486916985
Author: Vitaly Kuznetsov <vkuznets>
Date: Tue Mar 31 18:27:52 2020 +0200
target/i386: do not set unsupported VMX secondary execution controls
Version-Release number of selected component (if applicable):
QEMU-4.2+
How reproducible:
Always
Steps to Reproduce:
1. Try starting a VM on Azure (where nested VMX is supported) with e.g. '-cpu host'
Actual results:
QEMU aborts.
Expected results:
VM starts.
Additional info:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2020:2017