public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Zachary Amsden <zamsden@redhat.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>, Avi Kivity <avi@redhat.com>,
	kvm <kvm@vger.kernel.org>
Subject: Re: [PATCH 2/3] KVM: x86: Save&restore interrupt shadow mask
Date: Tue, 16 Feb 2010 22:06:12 -1000	[thread overview]
Message-ID: <4B7BA374.4040102@redhat.com> (raw)
In-Reply-To: <20100217003941.GA1110@amt.cnet>

On 02/16/2010 02:39 PM, Marcelo Tosatti wrote:
> On Mon, Feb 15, 2010 at 10:45:42AM +0100, Jan Kiszka wrote:
>    
>> The interrupt shadow created by STI or MOV-SS-like operations is part of
>> the VCPU state and must be preserved across migration. Transfer it in
>> the spare padding field of kvm_vcpu_events.interrupt.

STI and MOV-SS interrupt shadow are both treated differently by 
hardware.  Any attempt to unify them into a single field is wrong, 
especially so in a hardware virtualization context, where they are 
actually represented by different fields in the undocumented but 
nevertheless extant format that can be inferred from the hardware 
virtualization context used by specific vendors.

Zach

  reply	other threads:[~2010-02-17  8:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-15  9:45 [PATCH 0/3] KVM: VCPU state extensions Jan Kiszka
2010-02-15  9:45 ` [PATCH 1/3] KVM: x86: Do not return soft events in vcpu_events Jan Kiszka
2010-02-15  9:45 ` [PATCH 2/3] KVM: x86: Save&restore interrupt shadow mask Jan Kiszka
2010-02-17  0:39   ` Marcelo Tosatti
2010-02-17  8:06     ` Zachary Amsden [this message]
2010-02-17  9:05       ` Gleb Natapov
2010-02-17  9:07       ` Jan Kiszka
2010-02-17  9:03     ` Jan Kiszka
2010-02-17  9:10       ` Gleb Natapov
2010-02-17 14:54         ` Marcelo Tosatti
2010-02-19 18:38   ` [PATCH 2/3 v3] " Jan Kiszka
2010-02-15  9:45 ` [PATCH 3/3] KVM: x86: Add support for saving&restoring debug registers Jan Kiszka
2010-02-22 12:34 ` [PATCH 0/3] KVM: VCPU state extensions Jan Kiszka
2010-02-22 12:45   ` Avi Kivity
2010-02-22 12:54     ` Avi Kivity

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=4B7BA374.4040102@redhat.com \
    --to=zamsden@redhat.com \
    --cc=avi@redhat.com \
    --cc=jan.kiszka@siemens.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox