This USB patchset moves the HID VM state stuff from usb-hid.c to hid.c, so it can be reused by other devices.
changes v1->v2: - don't reorder vmstate field to be backward compatible Michael Walle (4): hid: register kbd hander in init() hid: introduce hid vmstate macros usb-hid: use hid vmstate macro milkymist-softusb: use hid code directly hw/hid.c | 63 ++++++++++++++++++++++++- hw/hw.h | 20 ++++++++ hw/milkymist-softusb.c | 122 +++++++++++++++--------------------------------- hw/usb-hid.c | 41 +--------------- 4 files changed, 121 insertions(+), 125 deletions(-) -- 1.7.2.5