All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: kvm@vger.kernel.org
Subject: [Bug 216091] KVM nested virtualization does not support VMX fields that should always be supported
Date: Tue, 07 Jun 2022 16:10:31 +0000	[thread overview]
Message-ID: <bug-216091-28872-wCqK3efPFz@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-216091-28872@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=216091

Sean Christopherson (seanjc@google.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |seanjc@google.com

--- Comment #1 from Sean Christopherson (seanjc@google.com) ---
The CR3-target values are clear cut, "A.6 MISCELLANEOUS DATA" in the SDM
explicitly calls out '0' as a legal value for the number of CR3-target values:

  Bits 24:16 indicate the number of CR3-target values supported by the
processor.
  This number is a value between 0 and 256, inclusive (bit 24 is set if and
only
  if bits 23:16 are clear).

For the other fields ("Executive-VMCS pointer", "Guest SMBASE", and "I/O R*X",
I would argue that the lack of a footnote is an SDM bug, as those fields should
exist if and only if the CPU enumerates support for an SMM-transfer monitor in
MSR_IA32_VMX_BASIC, and KVM never sets that bit (49).  The I/O fields "are used
only for VM exits due to SMIs ...", and SMIs are not true VM-Exits when not
using STM.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

      reply	other threads:[~2022-06-07 16:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-07  3:17 [Bug 216091] New: KVM nested virtualization does not support VMX fields that should always be supported bugzilla-daemon
2022-06-07 16:10 ` bugzilla-daemon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-216091-28872-wCqK3efPFz@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.