[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] usb-ccid: remove needless migration state code
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] usb-ccid: remove needless migration state code |
Date: |
Thu, 12 Oct 2017 17:04:14 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 12/10/2017 16:02, Marc-André Lureau wrote:
> I did a simple migration test from a state file with the field to a
> state file without, and the other way around and it seemed to work. I
> probably screwed up the test.
>
> Looking at vmstate code, it obviously changes the wire format. So
> let's keep the field. (I was wondering how/if the vmdesc was able to
> match field names/version, probably not)
You can use VMSTATE_UNUSED(1) to drop the field from the struct.
Paolo