Re: [PATCH v2] migration: Support gtree migration

2019-10-03 Thread Auger Eric
Hi Juan, On 10/3/19 6:14 PM, Juan Quintela wrote: > Eric Auger wrote: >> Introduce support for GTree migration. A custom save/restore >> is implemented. Each item is made of a key and a data. For that >> reason, 2 VMSD objects are passed into the GTree VMStateField. >> >> When putting the items,

Re: [PATCH v2] migration: Support gtree migration

2019-10-03 Thread Juan Quintela
Eric Auger wrote: > Introduce support for GTree migration. A custom save/restore > is implemented. Each item is made of a key and a data. For that > reason, 2 VMSD objects are passed into the GTree VMStateField. > > When putting the items, the tree is traversed in sorted order by > g_tree_foreach.

Re: [PATCH v2] migration: Support gtree migration

2019-10-03 Thread Daniel P . Berrangé
On Thu, Oct 03, 2019 at 04:54:31PM +0200, Eric Auger wrote: > Introduce support for GTree migration. A custom save/restore > is implemented. Each item is made of a key and a data. For that > reason, 2 VMSD objects are passed into the GTree VMStateField. > > When putting the items, the tree is trav

[PATCH v2] migration: Support gtree migration

2019-10-03 Thread Eric Auger
Introduce support for GTree migration. A custom save/restore is implemented. Each item is made of a key and a data. For that reason, 2 VMSD objects are passed into the GTree VMStateField. When putting the items, the tree is traversed in sorted order by g_tree_foreach. On the get() path, gtrees mu