kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: kvm@vger.kernel.org
Subject: Re: [RFC][PATCH] Add support for the GUEST_SMBASE VMCS field for Intel VT-x.
Date: Wed, 06 Jun 2012 10:55:37 +0300	[thread overview]
Message-ID: <4FCF0CF9.1010102@redhat.com> (raw)
In-Reply-To: <20120605182759.GA23670@rhea>

On 06/05/2012 09:27 PM, Matthias Lange wrote:
> On Tue, Jun 05, 2012 at 04:09:30PM +0300, Avi Kivity wrote:
>> On 06/05/2012 02:59 PM, Matthias Lange wrote:
>> > Do you mean the ABI defined in the Intel Software Developer's manual 3B? Or is
>> > vmcs12 only an ABI internal to the kvm module?
>> 
>> The latter.  We want to be able to live migrate a guest with nested
>> guests, and if the format of vmcs12 changes, the migration will break.
> 
> I'm trying to understand how the migration is implemented in kvm. Can you
> point me to some sort of documentation or pieces of code where I can start
> digging through the mechanism?

>From kvm's point of view, it's just KVM_GET_REGS (and KVM_GET_SREGS,
etc.) from the source, followed by KVM_SET_REGS (etc.) on the target.
KVM_GET_DIRTY_LOG makes the migration live.


-- 
error compiling committee.c: too many arguments to function

      reply	other threads:[~2012-06-06  7:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-18  9:34 [RFC][PATCH] Add support for the GUEST_SMBASE VMCS field for Intel VT-x Matthias Lange
2012-05-20 12:39 ` Avi Kivity
2012-06-05 11:59   ` Matthias Lange
2012-06-05 13:09     ` Avi Kivity
2012-06-05 18:27       ` Matthias Lange
2012-06-06  7:55         ` Avi Kivity [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=4FCF0CF9.1010102@redhat.com \
    --to=avi@redhat.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).