[Qemu-devel] [PATCH 0/4] virtio-serial: Rework, fix post_load code

2012-12-13 Thread Amit Shah
This series reworks the post_load code recently introduced to allocate the structures only when required (i.e. only at load time). This helps keep the VirtIOSerial struct clean, and use less RAM. Also rearrange the code in virtio_serial_load() for easier readability. Patch 4 fixes a race with

Re: [Qemu-devel] [PATCH 0/4] virtio-serial: Rework, fix post_load code

2012-12-13 Thread Alon Levy
All looks good. Reviewed-by: Alon Levy al...@redhat.com - Original Message - This series reworks the post_load code recently introduced to allocate the structures only when required (i.e. only at load time). This helps keep the VirtIOSerial struct clean, and use less RAM. Also