From: Marcelo Tosatti <mtosatti@redhat.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Gleb Natapov <gleb@kernel.org>,
Paolo Bonzini <pbonzini@redhat.com>, kvm <kvm@vger.kernel.org>
Subject: Re: [RFC][PATCH] KVM: nVMX: Leave VMX mode on apparent CPU reset
Date: Mon, 30 Dec 2013 18:02:17 -0200 [thread overview]
Message-ID: <20131230200217.GA6699@amt.cnet> (raw)
In-Reply-To: <52AEC8B2.7010602@siemens.com>
On Mon, Dec 16, 2013 at 10:32:34AM +0100, Jan Kiszka wrote:
> As long as we do not expose all the VMX related states to user space,
> there is no way to properly reset a VCPU when VMX is enabled. Emulate
> this for now by catching host-side clearings of the feature control MSR.
> This allows to reboot a VM while it is running some hypervisor code.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>
> Better ideas? Or continue to leave it as it is?
The hidden backport might be problematic... How about an explicit
notification to leave guest mode?
Such as a new flag to KVM_SET_REGS (or even a separate ioctl?).
next prev parent reply other threads:[~2013-12-30 20:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-16 9:32 [RFC][PATCH] KVM: nVMX: Leave VMX mode on apparent CPU reset Jan Kiszka
2013-12-17 13:25 ` Paolo Bonzini
2013-12-17 14:40 ` Jan Kiszka
2013-12-17 14:43 ` Paolo Bonzini
2013-12-30 20:02 ` Marcelo Tosatti [this message]
2013-12-30 20:05 ` Marcelo Tosatti
2013-12-30 20:02 ` Marcelo Tosatti
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=20131230200217.GA6699@amt.cnet \
--to=mtosatti@redhat.com \
--cc=gleb@kernel.org \
--cc=jan.kiszka@siemens.com \
--cc=kvm@vger.kernel.org \
--cc=pbonzini@redhat.com \
/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.