qemu-devel
[Top][All Lists]
Advanced

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

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


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH 4/5] New VMstate save/load infrastructure
Date: Tue, 18 Aug 2009 20:13:47 +0300

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'. Also VMStateField and
VMStateDescription should be private to savevm.c.




reply via email to

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