Re: [Qemu-devel] [PATCH] Fix virtio-serial migration on bi-endian targets

2014-12-11 Thread David Gibson
On Fri, Dec 12, 2014 at 04:04:35PM +1100, David Gibson wrote: > On Fri, Dec 12, 2014 at 03:52:45PM +1100, David Gibson wrote: > > On a bi-endian target, with a guest in the non-default endian mode, > > attempting to migrate twice in a row with a virtio-serial device wil > > cause a qemu SEGV on the

Re: [Qemu-devel] [PATCH] Fix virtio-serial migration on bi-endian targets

2014-12-11 Thread David Gibson
On Fri, Dec 12, 2014 at 03:52:45PM +1100, David Gibson wrote: > On a bi-endian target, with a guest in the non-default endian mode, > attempting to migrate twice in a row with a virtio-serial device wil > cause a qemu SEGV on the second outgoing migration. > > The problem is that virtio_serial_sav

[Qemu-devel] [PATCH] Fix virtio-serial migration on bi-endian targets

2014-12-11 Thread David Gibson
On a bi-endian target, with a guest in the non-default endian mode, attempting to migrate twice in a row with a virtio-serial device wil cause a qemu SEGV on the second outgoing migration. The problem is that virtio_serial_save_device() (and other places) expect VirtIOSerial->config to be in curre