[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 04/11] sb16: fix migration quirk
From: |
Juan Quintela |
Subject: |
[Qemu-devel] Re: [PATCH 04/11] sb16: fix migration quirk |
Date: |
Wed, 23 Mar 2011 10:51:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Anthony Liguori <address@hidden> wrote:
> We seem to migrate the same field twice. It's been this way since Fabrice
> committed the original file. Since semantically, we basically ignore the
> first
> value, make this an unused entry.
>
> Signed-off-by: Anthony Liguori <address@hidden>
> ---
> hw/sb16.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/hw/sb16.c b/hw/sb16.c
> index c98546a..1c30e4c 100644
> --- a/hw/sb16.c
> +++ b/hw/sb16.c
> @@ -77,6 +77,7 @@ typedef struct SB16State {
>
> int v2x6;
>
> + uint8_t csp_param_dummy;
> uint8_t csp_param;
> uint8_t csp_value;
> uint8_t csp_mode;
> @@ -1313,7 +1314,7 @@ static const VMStateDescription vmstate_sb16 = {
> VMSTATE_INT32(can_write, SB16State),
> VMSTATE_INT32(v2x6, SB16State),
>
> - VMSTATE_UINT8(csp_param, SB16State),
> + VMSTATE_UINT8(csp_param_dummy, SB16State),
> VMSTATE_UINT8(csp_value, SB16State),
> VMSTATE_UINT8(csp_mode, SB16State),
> VMSTATE_UINT8(csp_param, SB16State),
VMSTATE_UNUSED(1) instead?
Later, Juan.
- [Qemu-devel] [PATCH 00/11] Add live migration unit tests, Anthony Liguori, 2011/03/22
- [Qemu-devel] [PATCH 03/11] vmstate: for vmstate types that reuse the same field, make sure name is unique, Anthony Liguori, 2011/03/22
- [Qemu-devel] [PATCH 04/11] sb16: fix migration quirk, Anthony Liguori, 2011/03/22
- [Qemu-devel] Re: [PATCH 04/11] sb16: fix migration quirk,
Juan Quintela <=
- [Qemu-devel] [PATCH 01/11] Add hard build dependency on glib, Anthony Liguori, 2011/03/22
- Re: [Qemu-devel] [PATCH 01/11] Add hard build dependency on glib, Stefan Hajnoczi, 2011/03/23
- Re: [Qemu-devel] [PATCH 01/11] Add hard build dependency on glib, Roy Tam, 2011/03/23
- Re: [Qemu-devel] [PATCH 01/11] Add hard build dependency on glib, Stefan Hajnoczi, 2011/03/23
- Re: [Qemu-devel] [PATCH 01/11] Add hard build dependency on glib, Roy Tam, 2011/03/23
- [Qemu-devel] Re: [PATCH 01/11] Add hard build dependency on glib, Paolo Bonzini, 2011/03/23
- Re: [Qemu-devel] [PATCH 01/11] Add hard build dependency on glib, Stefan Hajnoczi, 2011/03/23
[Qemu-devel] [PATCH 08/11] fw_cfg: make sure all VMState fields are unique., Anthony Liguori, 2011/03/22
[Qemu-devel] [PATCH 06/11] fdc: fix migration of non-ISA fdc devices, Anthony Liguori, 2011/03/22