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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to