Skip to contentSkip to conversation

IA32_FEATURE_CONTROL MSR unset for nested virtualization

Qemu-devel Stephen Crane 2 participants 3 messages Feb 3, 2016 – Jan 22, 2019

lore
Share & tools
lore
#0 lore raw

Public bug reported:

I enabled nested virtualization for the kvm_intel module, and passed -enable-kvm and -cpu host to qemu. However, the qemu BIOS did not set IA32_FEATURE_CONTROL MSR (index 0x3a) to a non-zero value allow VMXON. According to the Intel manual Section 23.7 ENABLING AND ENTERING VMX
OPERATION: "To enable VMX support in a platform, BIOS must set bit 1, bit 2, or both (see below), as well as the lock bit."

I noticed an old mailing list thread on this
(https://lists.nongnu.org/archive/html/qemu-
devel/2015-01/msg01372.html), but I wanted to point out that the Intel manual (and all the physical hardware I've tested) specifically contradicts this response.

Tested on kernel 4.3.3 and qemu 2.4.1.

** Affects: qemu
Importance: Undecided
Status: New

Signature · 28 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1541643

Title:
  IA32_FEATURE_CONTROL MSR unset for nested virtualization

Status in QEMU:
  New

Bug description:
  I enabled nested virtualization for the kvm_intel module, and passed
  -enable-kvm and -cpu host to qemu. However, the qemu BIOS did not set
  IA32_FEATURE_CONTROL MSR (index 0x3a) to a non-zero value allow VMXON.
  According to the Intel manual Section 23.7 ENABLING AND ENTERING VMX
  OPERATION: "To enable VMX support in a platform, BIOS must set bit 1,
  bit 2, or both (see below), as well as the lock bit."

  I noticed an old mailing list thread on this
  (https://lists.nongnu.org/archive/html/qemu-
  devel/2015-01/msg01372.html), but I wanted to point out that the Intel
  manual (and all the physical hardware I've tested) specifically
  contradicts this response.

  Tested on kernel 4.3.3 and qemu 2.4.1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1541643/+subscriptions
#1 lore raw

** Also affects: archlinux
Importance: Undecided
Status: New

** No longer affects: archlinux

Signature · 28 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1541643

Title:
  IA32_FEATURE_CONTROL MSR unset for nested virtualization

Status in QEMU:
  New

Bug description:
  I enabled nested virtualization for the kvm_intel module, and passed
  -enable-kvm and -cpu host to qemu. However, the qemu BIOS did not set
  IA32_FEATURE_CONTROL MSR (index 0x3a) to a non-zero value allow VMXON.
  According to the Intel manual Section 23.7 ENABLING AND ENTERING VMX
  OPERATION: "To enable VMX support in a platform, BIOS must set bit 1,
  bit 2, or both (see below), as well as the lock bit."

  I noticed an old mailing list thread on this
  (https://lists.nongnu.org/archive/html/qemu-
  devel/2015-01/msg01372.html), but I wanted to point out that the Intel
  manual (and all the physical hardware I've tested) specifically
  contradicts this response.

  Tested on kernel 4.3.3 and qemu 2.4.1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1541643/+subscriptions
#2 lore raw
In reply to Stephen Crane

Looking through old bug tickets... can you still reproduce this issue with the latest version of QEMU? Or could we close this ticket nowadays?

** Changed in: qemu
Status: New => Incomplete

Signature · 28 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1541643

Title:
  IA32_FEATURE_CONTROL MSR unset for nested virtualization

Status in QEMU:
  Incomplete

Bug description:
  I enabled nested virtualization for the kvm_intel module, and passed
  -enable-kvm and -cpu host to qemu. However, the qemu BIOS did not set
  IA32_FEATURE_CONTROL MSR (index 0x3a) to a non-zero value allow VMXON.
  According to the Intel manual Section 23.7 ENABLING AND ENTERING VMX
  OPERATION: "To enable VMX support in a platform, BIOS must set bit 1,
  bit 2, or both (see below), as well as the lock bit."

  I noticed an old mailing list thread on this
  (https://lists.nongnu.org/archive/html/qemu-
  devel/2015-01/msg01372.html), but I wanted to point out that the Intel
  manual (and all the physical hardware I've tested) specifically
  contradicts this response.

  Tested on kernel 4.3.3 and qemu 2.4.1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1541643/+subscriptions