virtio-serial: don't migrate the config space
commite38e943a1fa20d04deb1899be19b12aadec7a585
authorAlexander Graf <agraf@suse.de>
Tue, 24 Jun 2014 17:13:50 +0000 (24 19:13 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 29 Jun 2014 16:39:41 +0000 (29 19:39 +0300)
tree655521e57af9a81ef3a845bb10b820cd9ce4621d
parent032a74a1c0fcdd5fd1c69e56126b4c857ee36611
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>
hw/char/virtio-serial-bus.c