[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] vmmouse: Register vmstate via qdev
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [PATCH] vmmouse: Register vmstate via qdev |
Date: |
Tue, 22 Mar 2011 07:45:21 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Mon, Mar 21, 2011 at 10:53:00AM +0100, Jan Kiszka wrote:
> Signed-off-by: Jan Kiszka <address@hidden>
> ---
> hw/vmmouse.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Thanks, applied.
> diff --git a/hw/vmmouse.c b/hw/vmmouse.c
> index ab8dbd6..1113f33 100644
> --- a/hw/vmmouse.c
> +++ b/hw/vmmouse.c
> @@ -265,7 +265,6 @@ static int vmmouse_initfn(ISADevice *dev)
> vmport_register(VMMOUSE_STATUS, vmmouse_ioport_read, s);
> vmport_register(VMMOUSE_COMMAND, vmmouse_ioport_read, s);
> vmport_register(VMMOUSE_DATA, vmmouse_ioport_read, s);
> - vmstate_register(NULL, 0, &vmstate_vmmouse, s);
>
> return 0;
> }
> @@ -274,6 +273,7 @@ static ISADeviceInfo vmmouse_info = {
> .init = vmmouse_initfn,
> .qdev.name = "vmmouse",
> .qdev.size = sizeof(VMMouseState),
> + .qdev.vmsd = &vmstate_vmmouse,
> .qdev.no_user = 1,
> .qdev.reset = vmmouse_reset,
> .qdev.props = (Property[]) {
> --
> 1.7.1
>
>
--
Aurelien Jarno GPG: 1024D/F1BCDB73
address@hidden http://www.aurel32.net