qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/4] qdev: integrate reset


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH 1/4] qdev: integrate reset
Date: Tue, 1 Sep 2009 19:30:17 +0300

On Tue, Sep 1, 2009 at 10:56 AM, Gerd Hoffmann<address@hidden> wrote:

> @@ -110,6 +110,9 @@ struct DeviceInfo {
>     Property *props;
>     int no_user;
>
> +    /* callbacks */
> +    QEMUResetHandler *reset;
> +

This would remove the need for registration but I had in my mind a bit
more complex solution like VMState structures. Even better, VMState
could be enhanced so that the reset value of the fields could be
specified (when not zero).




reply via email to

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