[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/4] usb/hid: bugfixes, more on usb and hid split
From: |
Michael Walle |
Subject: |
[Qemu-devel] [PATCH 0/4] usb/hid: bugfixes, more on usb and hid split |
Date: |
Sun, 7 Aug 2011 19:29:16 +0200 |
This USB patchset moves the VM state stuff from usb-hid.c to hid.c, so it
can be reused by other devices.
There is one major drawback: i need to increase the vmstate version_id of
the usb-hid device. I don't know if you agree with this change.
Alternatively, we could add a load_old function which just skips old
versions.
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 | 51 +++-----------------
4 files changed, 127 insertions(+), 129 deletions(-)
--
1.7.2.5
- [Qemu-devel] [PATCH 0/4] usb/hid: bugfixes, more on usb and hid split,
Michael Walle <=
- [Qemu-devel] [PATCH 3/4] usb-hid: use hid vmstate macro, Michael Walle, 2011/08/07
- [Qemu-devel] [PATCH 4/4] milkymist-softusb: use hid code directly, Michael Walle, 2011/08/07
- [Qemu-devel] [PATCH 1/4] hid: register kbd hander in init(), Michael Walle, 2011/08/07
- [Qemu-devel] [PATCH 2/4] hid: introduce hid vmstate macros, Michael Walle, 2011/08/07
- Re: [Qemu-devel] [PATCH 0/4] usb/hid: bugfixes, more on usb and hid split, Gerd Hoffmann, 2011/08/09