Re: [PATCH v5] migration: Support gtree migration

2019-10-11 Thread Auger Eric
Hi, On 10/11/19 2:10 PM, Eric Auger wrote: > Introduce support for GTree migration. A custom save/restore > is implemented. Each item is made of a key and a data. > > If the key is a pointer to an object, 2 VMSDs are passed into > the GTree VMStateField. > > When putting the items, the tree is t

[PATCH v5] migration: Support gtree migration

2019-10-11 Thread Eric Auger
Introduce support for GTree migration. A custom save/restore is implemented. Each item is made of a key and a data. If the key is a pointer to an object, 2 VMSDs are passed into the GTree VMStateField. When putting the items, the tree is traversed in sorted order by g_tree_foreach. On the get()