qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/2 V5] Virtual Machine Generation ID


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 0/2 V5] Virtual Machine Generation ID
Date: Mon, 06 Oct 2014 14:48:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1

Il 06/10/2014 11:06, Daniel P. Berrange ha scritto:
> Now this can largely be accomplished by libvirt by simply changing the
> value of the -vmgenid command line parameter, because most of these
> scenarios involve the spawning of a new QEMU process. The exception
> I think is when a running guest is reverted to a previous snapshot,
> because that is done via a monitor command and not restarting QEMU.
> So for this VM Generation ID work to be considered complete we need
> to have a way to dynamically change the VM generation ID on the fly,
> atomatically with reverting snapshots from the POV of the guest.
> eg we must load the snapshot state, change the generation ID, and
> only then start CPUs again.
> 
> IOW I think this patch series is incomplete wrt the Microsoft spec
> on generation ID semantics.

I think this should not be a problem, as long as there is an idea of how
to implement on-the-fly changes to the vmgenid.

Gal, do you know how to find back the address of the VM generation ID?
Can we put the offset into the DSDT in the migration stream, and then
find the ACPI tables in the f-segment at post_load time?

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]