From 7ecabc52a90827d7a32f951be64901f04aff07d1 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Wed, 17 Jun 2020 16:32:51 -0700 Subject: [PATCH] xid: Add VMStateDescription stub --- hw/xbox/xid.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hw/xbox/xid.c b/hw/xbox/xid.c index 90df9496cc..9c85121af8 100644 --- a/hw/xbox/xid.c +++ b/hw/xbox/xid.c @@ -451,7 +451,13 @@ static Property xid_properties[] = { static const VMStateDescription vmstate_usb_xbox = { .name = TYPE_USB_XID, - .unmigratable = 1, // FIXME + .version_id = 1, + .minimum_version_id = 1, + .fields = (VMStateField[]) { + VMSTATE_USB_DEVICE(dev, USBXIDState), + // FIXME + VMSTATE_END_OF_LIST() + }, }; static void usb_xbox_gamepad_class_initfn(ObjectClass *klass, void *data)