aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2011-07-20 10:02:40 +0200
committerGerd Hoffmann <kraxel@redhat.com>2011-07-20 14:49:41 +0200
commit2474e5052b3987cbd7f41f6a2992ce691dc8cc0c (patch)
treee35be6153e4546204d84694547904ab7a6febf01 /hw
parentccce9fd205317f60dd30a986084eec39addbd09b (diff)
downloadqemu-2474e5052b3987cbd7f41f6a2992ce691dc8cc0c.zip
qemu-2474e5052b3987cbd7f41f6a2992ce691dc8cc0c.tar.gz
qemu-2474e5052b3987cbd7f41f6a2992ce691dc8cc0c.tar.bz2
usb-bt doesn't support migration
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/usb-bt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/usb-bt.c b/hw/usb-bt.c
index e364513..4557802 100644
--- a/hw/usb-bt.c
+++ b/hw/usb-bt.c
@@ -548,10 +548,16 @@ USBDevice *usb_bt_init(HCIInfo *hci)
return dev;
}
+static const VMStateDescription vmstate_usb_bt = {
+ .name = "usb-bt",
+ .unmigratable = 1,
+};
+
static struct USBDeviceInfo bt_info = {
.product_desc = "QEMU BT dongle",
.qdev.name = "usb-bt-dongle",
.qdev.size = sizeof(struct USBBtState),
+ .qdev.vmsd = &vmstate_usb_bt,
.usb_desc = &desc_bluetooth,
.init = usb_bt_initfn,
.handle_packet = usb_generic_handle_packet,