Re: [PATCH v2] iotests.py: Let wait_migration wait even more

2019-12-23 Thread John Snow
On 12/19/19 1:36 PM, Max Reitz wrote: > The "migration completed" event may be sent (on the source, to be > specific) before the migration is actually completed, so the VM runstate > will still be "finish-migrate" instead of "postmigrate". So ask the > users of VM.wait_migration() to specify th

Re: [PATCH v2] iotests.py: Let wait_migration wait even more

2019-12-20 Thread Max Reitz
On 20.12.19 11:07, Kevin Wolf wrote: > Am 20.12.2019 um 10:52 hat Max Reitz geschrieben: >> On 20.12.19 10:32, Kevin Wolf wrote: >>> Am 19.12.2019 um 19:36 hat Max Reitz geschrieben: The "migration completed" event may be sent (on the source, to be specific) before the migration is actual

Re: [PATCH v2] iotests.py: Let wait_migration wait even more

2019-12-20 Thread Kevin Wolf
Am 20.12.2019 um 10:52 hat Max Reitz geschrieben: > On 20.12.19 10:32, Kevin Wolf wrote: > > Am 19.12.2019 um 19:36 hat Max Reitz geschrieben: > >> The "migration completed" event may be sent (on the source, to be > >> specific) before the migration is actually completed, so the VM runstate > >> wi

Re: [PATCH v2] iotests.py: Let wait_migration wait even more

2019-12-20 Thread Max Reitz
On 20.12.19 10:32, Kevin Wolf wrote: > Am 19.12.2019 um 19:36 hat Max Reitz geschrieben: >> The "migration completed" event may be sent (on the source, to be >> specific) before the migration is actually completed, so the VM runstate >> will still be "finish-migrate" instead of "postmigrate". So a

Re: [PATCH v2] iotests.py: Let wait_migration wait even more

2019-12-20 Thread Kevin Wolf
Am 19.12.2019 um 19:36 hat Max Reitz geschrieben: > The "migration completed" event may be sent (on the source, to be > specific) before the migration is actually completed, so the VM runstate > will still be "finish-migrate" instead of "postmigrate". So ask the > users of VM.wait_migration() to s

[PATCH v2] iotests.py: Let wait_migration wait even more

2019-12-19 Thread Max Reitz
The "migration completed" event may be sent (on the source, to be specific) before the migration is actually completed, so the VM runstate will still be "finish-migrate" instead of "postmigrate". So ask the users of VM.wait_migration() to specify the final runstate they desire and then poll the VM