]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-serial: don't migrate the config space
authorAlexander Graf <agraf@suse.de>
Tue, 24 Jun 2014 17:13:50 +0000 (19:13 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 5 Aug 2014 19:16:50 +0000 (14:16 -0500)
commit9221efd7750e255dbbba4a6c8fd30acb0db68399
tree21520aed7b5ee5eac43590a636014de0799d5796
parent4ce91be0c31a19463d05ea3c850984b453171486
virtio-serial: don't migrate the config space

The device configuration is set at realize time and never changes. It
should not be migrated as it is done today. For the sake of compatibility,
let's just skip them at load time.

Signed-off-by: Alexander Graf <agraf@suse.de>
[ added missing casts to uint16_t *,
  added From, SoB and commit message,
  Greg Kurz <gkurz@linux.vnet.ibm.com> ]
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit e38e943a1fa20d04deb1899be19b12aadec7a585)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/char/virtio-serial-bus.c