mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-01 15:30:58 +00:00
372e458ebc
gamepad_state::buttons is a pointer to an array of structs, not an array of structs, so should be declared in the vmstate with VMSTATE_STRUCT_VARRAY_POINTER_INT32; otherwise we corrupt memory on incoming migration. We bump the vmstate version field as the easiest way to deal with the migration break, since migration wouldn't have worked reliably before anyway. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Damien Hedde <damien.hedde@greensocs.com> Message-id: 20190725163710.11703-2-peter.maydell@linaro.org |
||
---|---|---|
.. | ||
adb-internal.h | ||
adb-kbd.c | ||
adb-mouse.c | ||
adb.c | ||
hid.c | ||
Kconfig | ||
lm832x.c | ||
Makefile.objs | ||
milkymist-softusb.c | ||
pckbd.c | ||
pl050.c | ||
ps2.c | ||
pxa2xx_keypad.c | ||
stellaris_input.c | ||
trace-events | ||
tsc210x.c | ||
tsc2005.c | ||
vhost-user-input.c | ||
virtio-input-hid.c | ||
virtio-input-host.c | ||
virtio-input.c |