qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCH 9/9] usb-serial doesn't support migration
Date: Wed, 20 Jul 2011 12:09:39 +0200	[thread overview]
Message-ID: <1311156579-9814-10-git-send-email-kraxel@redhat.com> (raw)
In-Reply-To: <1311156579-9814-1-git-send-email-kraxel@redhat.com>

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 hw/usb-serial.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/hw/usb-serial.c b/hw/usb-serial.c
index 59cb0fb..70d694d 100644
--- a/hw/usb-serial.c
+++ b/hw/usb-serial.c
@@ -566,10 +566,16 @@ static USBDevice *usb_braille_init(const char *unused)
     return dev;
 }
 
+static const VMStateDescription vmstate_usb_serial = {
+    .name = "usb-serial",
+    .unmigratable = 1,
+};
+
 static struct USBDeviceInfo serial_info = {
     .product_desc   = "QEMU USB Serial",
     .qdev.name      = "usb-serial",
     .qdev.size      = sizeof(USBSerialState),
+    .qdev.vmsd      = &vmstate_usb_serial,
     .usb_desc       = &desc_serial,
     .init           = usb_serial_initfn,
     .handle_packet  = usb_generic_handle_packet,
@@ -589,6 +595,7 @@ static struct USBDeviceInfo braille_info = {
     .product_desc   = "QEMU USB Braille",
     .qdev.name      = "usb-braille",
     .qdev.size      = sizeof(USBSerialState),
+    .qdev.vmsd      = &vmstate_usb_serial,
     .usb_desc       = &desc_braille,
     .init           = usb_serial_initfn,
     .handle_packet  = usb_generic_handle_packet,
-- 
1.7.1

  parent reply	other threads:[~2011-07-20 10:10 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-20 10:09 [Qemu-devel] [PULL] non-migratable devices Gerd Hoffmann
2011-07-20 10:09 ` [Qemu-devel] [PATCH 1/9] vmstate: add no_migrate flag to VMStateDescription Gerd Hoffmann
2011-07-20 10:09 ` [Qemu-devel] [PATCH 2/9] vmstate: complain about devices without vmstate Gerd Hoffmann
2011-07-20 12:40   ` Peter Maydell
2011-07-20 12:51     ` Gerd Hoffmann
2011-07-20 10:09 ` [Qemu-devel] [PATCH 3/9] ahci doesn't support migration Gerd Hoffmann
2011-07-20 10:09 ` [Qemu-devel] [PATCH 4/9] ehci " Gerd Hoffmann
2011-07-20 10:09 ` [Qemu-devel] [PATCH 5/9] usb storage: first migration support bits Gerd Hoffmann
2011-07-29 15:56   ` Paolo Bonzini
2011-07-20 10:09 ` [Qemu-devel] [PATCH 6/9] usb-wacom doesn't support migration Gerd Hoffmann
2011-07-29 15:57   ` Paolo Bonzini
2011-07-20 10:09 ` [Qemu-devel] [PATCH 7/9] usb-bt " Gerd Hoffmann
2011-07-20 10:09 ` [Qemu-devel] [PATCH 8/9] usb-net " Gerd Hoffmann
2011-07-20 10:09 ` Gerd Hoffmann [this message]
2011-07-22 14:21 ` [Qemu-devel] [PULL] non-migratable devices Anthony Liguori
2011-07-22 14:32   ` Gerd Hoffmann
2011-07-29 15:46 ` Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1311156579-9814-10-git-send-email-kraxel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).