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