qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 4/5] New VMstate save/load infrastructure


From: Juan Quintela
Subject: [Qemu-devel] Re: [PATCH 4/5] New VMstate save/load infrastructure
Date: Tue, 18 Aug 2009 19:56:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Reply-to: address@hidden
Blue Swirl <address@hidden> wrote:
> On Tue, Aug 18, 2009 at 4:34 PM, Juan Quintela<address@hidden> wrote:
>> This patch introduces VMState infrastructure, to convert the save/load
>> functions of devices to a table approach.  This new approach has the
>> advantages:
>> - it is type-safe
>> - you can't have load/save functions out of sync
>> - will allows us to have new interesting commands, like dump <device>, that
>>  shows all its internal state.
>> - Just now, the only added type is arrays, but we can add structures.
>
> I think all the structures should be 'const'.

This is doable, and will do.

> Also VMStateField and
> VMStateDescription should be private to savevm.c.

They can, as we are trying to create them statically, not
programatically.

Later, Juan.




reply via email to

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