Re: [Qemu-devel] Re: [PATCH 40/41] virtio-blk: port to vmstate

2009-12-04 Thread Anthony Liguori
Michael S. Tsirkin wrote: On Wed, Dec 02, 2009 at 01:04:38PM +0100, Juan Quintela wrote: This driver send a struct directly in the wire, where the struct contains: - target_phis_addr_t (can be 32 or 64 bits depending of host) - void * (on host) - size_t. It has no hope of working across 32/6

[Qemu-devel] Re: [PATCH 40/41] virtio-blk: port to vmstate

2009-12-02 Thread Michael S. Tsirkin
On Wed, Dec 02, 2009 at 01:04:38PM +0100, Juan Quintela wrote: > This driver send a struct directly in the wire, where the struct > contains: > - target_phis_addr_t (can be 32 or 64 bits depending of host) > - void * (on host) > - size_t. > > It has no hope of working across 32/64 or big/little en