Re: [Qemu-devel] [RFC 0/4] virtio: stabilize migration format

2012-12-11 Thread Stefan Hajnoczi
On Mon, Dec 10, 2012 at 08:29:46AM -0600, Anthony Liguori wrote: This series replaces: qemu_put_buffer(f, (unsigned char*)req-elem, sizeof(req-elem)); With code that properly saves out each element of the structure using a well defined endian format. Migration is broken today from big

[Qemu-devel] [RFC 0/4] virtio: stabilize migration format

2012-12-10 Thread Anthony Liguori
This series replaces: qemu_put_buffer(f, (unsigned char*)req-elem, sizeof(req-elem)); With code that properly saves out each element of the structure using a well defined endian format. Migration is broken today from big endian to little endian hosts. There's no way to fix this problem