Re: [Qemu-devel] [PATCH 1/2] migration: allow to prioritize save state entries

2017-01-05 Thread Peter Xu
On Thu, Jan 05, 2017 at 12:49:59PM +, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@redhat.com) wrote: > > During migration, save state entries are saved/loaded without a specific > > order - we just traverse the savevm_state.handlers list and do it one by > > one. This might not be enough

Re: [Qemu-devel] [PATCH 1/2] migration: allow to prioritize save state entries

2017-01-05 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > During migration, save state entries are saved/loaded without a specific > order - we just traverse the savevm_state.handlers list and do it one by > one. This might not be enough in the future. > > There is case that we need to load specific device's vmstat

[Qemu-devel] [PATCH 1/2] migration: allow to prioritize save state entries

2017-01-05 Thread Peter Xu
During migration, save state entries are saved/loaded without a specific order - we just traverse the savevm_state.handlers list and do it one by one. This might not be enough in the future. There is case that we need to load specific device's vmstate first before others. For example, VT-d IOMMU c