From: Vitaly Kuznetsov <vkuznets@redhat.com>
To: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>,
"Montes, Julio" <julio.montes@intel.com>,
Marcelo Tosatti <mtosatti@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Paolo Bonzini <pbonzini@redhat.com>,
Richard Henderson <rth@twiddle.net>
Subject: Re: [PATCH] target/i386: do not set unsupported VMX secondary execution controls
Date: Wed, 01 Apr 2020 09:08:13 +0200 [thread overview]
Message-ID: <874ku31y5e.fsf@vitty.brq.redhat.com> (raw)
In-Reply-To: <20200331172640.GE2896@work-vm>
"Dr. David Alan Gilbert" <dgilbert@redhat.com> writes:
> So you would think that would tkae care of RDSEED exiting - but what
> about VMCS shadowing?
>
SECONDARY_EXEC_SHADOW_VMCS is special, we are able to emulate it in KVM
even when it is not supported by hardware, see
nested_vmx_setup_ctls_msrs():
/*
* We can emulate "VMCS shadowing," even if the hardware
* doesn't support it.
*/
msrs->secondary_ctls_high |=
SECONDARY_EXEC_SHADOW_VMCS;
--
Vitaly
next prev parent reply other threads:[~2020-04-01 7:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-31 16:27 [PATCH] target/i386: do not set unsupported VMX secondary execution controls Vitaly Kuznetsov
2020-03-31 16:32 ` Paolo Bonzini
2020-03-31 16:56 ` Montes, Julio
2020-03-31 16:59 ` Montes, Julio
2020-03-31 17:26 ` Dr. David Alan Gilbert
2020-03-31 17:37 ` Montes, Julio
2020-04-01 7:08 ` Vitaly Kuznetsov [this message]
2020-04-01 7:05 ` Vitaly Kuznetsov
2020-04-01 14:23 ` Montes, Julio
2020-04-01 14:36 ` Vitaly Kuznetsov
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=874ku31y5e.fsf@vitty.brq.redhat.com \
--to=vkuznets@redhat.com \
--cc=dgilbert@redhat.com \
--cc=ehabkost@redhat.com \
--cc=julio.montes@intel.com \
--cc=mtosatti@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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.