Re: [Qemu-devel] [PATCH v3 8/9] vmstate: Add preallocation for migrating arrays (VMS_ALLOC flag)

2014-06-25 Thread Juan Quintela
Alexander Graf ag...@suse.de wrote: On 06/12/2014 05:02 PM, Alexey Kardashevskiy wrote: On 06/08/2014 09:59 AM, Alexey Kardashevskiy wrote: On 06/03/2014 11:19 PM, Alexey Kardashevskiy wrote: On 05/30/2014 07:34 PM, Alexey Kardashevskiy wrote: There are few helpers already to support array

Re: [Qemu-devel] [PATCH v3 8/9] vmstate: Add preallocation for migrating arrays (VMS_ALLOC flag)

2014-06-25 Thread Alexander Graf
On 25.06.14 13:41, Juan Quintela wrote: Alexander Graf ag...@suse.de wrote: On 06/12/2014 05:02 PM, Alexey Kardashevskiy wrote: On 06/08/2014 09:59 AM, Alexey Kardashevskiy wrote: On 06/03/2014 11:19 PM, Alexey Kardashevskiy wrote: On 05/30/2014 07:34 PM, Alexey Kardashevskiy wrote: There

Re: [Qemu-devel] [PATCH v3 8/9] vmstate: Add preallocation for migrating arrays (VMS_ALLOC flag)

2014-06-19 Thread Alexey Kardashevskiy
On 06/13/2014 02:57 AM, Alexander Graf wrote: On 06/12/2014 05:02 PM, Alexey Kardashevskiy wrote: On 06/08/2014 09:59 AM, Alexey Kardashevskiy wrote: On 06/03/2014 11:19 PM, Alexey Kardashevskiy wrote: On 05/30/2014 07:34 PM, Alexey Kardashevskiy wrote: There are few helpers already to

Re: [Qemu-devel] [PATCH v3 8/9] vmstate: Add preallocation for migrating arrays (VMS_ALLOC flag)

2014-06-12 Thread Alexey Kardashevskiy
On 06/08/2014 09:59 AM, Alexey Kardashevskiy wrote: On 06/03/2014 11:19 PM, Alexey Kardashevskiy wrote: On 05/30/2014 07:34 PM, Alexey Kardashevskiy wrote: There are few helpers already to support array migration. However they all require the destination side to preallocate arrays before

Re: [Qemu-devel] [PATCH v3 8/9] vmstate: Add preallocation for migrating arrays (VMS_ALLOC flag)

2014-06-12 Thread Alexander Graf
On 06/12/2014 05:02 PM, Alexey Kardashevskiy wrote: On 06/08/2014 09:59 AM, Alexey Kardashevskiy wrote: On 06/03/2014 11:19 PM, Alexey Kardashevskiy wrote: On 05/30/2014 07:34 PM, Alexey Kardashevskiy wrote: There are few helpers already to support array migration. However they all require

Re: [Qemu-devel] [PATCH v3 8/9] vmstate: Add preallocation for migrating arrays (VMS_ALLOC flag)

2014-06-07 Thread Alexey Kardashevskiy
On 06/03/2014 11:19 PM, Alexey Kardashevskiy wrote: On 05/30/2014 07:34 PM, Alexey Kardashevskiy wrote: There are few helpers already to support array migration. However they all require the destination side to preallocate arrays before migration which is not always possible due to unknown

Re: [Qemu-devel] [PATCH v3 8/9] vmstate: Add preallocation for migrating arrays (VMS_ALLOC flag)

2014-06-03 Thread Alexey Kardashevskiy
On 05/30/2014 07:34 PM, Alexey Kardashevskiy wrote: There are few helpers already to support array migration. However they all require the destination side to preallocate arrays before migration which is not always possible due to unknown array size as it might be some sort of dynamic state.

[Qemu-devel] [PATCH v3 8/9] vmstate: Add preallocation for migrating arrays (VMS_ALLOC flag)

2014-05-30 Thread Alexey Kardashevskiy
There are few helpers already to support array migration. However they all require the destination side to preallocate arrays before migration which is not always possible due to unknown array size as it might be some sort of dynamic state. One of the examples is an array of MSIX-enabled devices