]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.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>
Wed, 16 Jul 2014 00:28:01 +0000 (19:28 -0500)
commit62c754e67cc5eb74a176e4de71028f1fc8638bb5
tree5c1916cd890d41099650547dafc631ef1b74f524
parent0fd14a556436386311c3c5aeeac501ce468c8df0
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