Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op

Anthony Liguori
2008-09-10T13:10:20Z

Avi Kivity wrote:
> Anthony Liguori wrote:
>> Live migration happens in the background, but it is useful to make
>> the monitor
>> command appear as if it's blocking. This allows a management tool to
>> immediately know when the live migration has completed without having
>> to poll
>> the migration status.
>>
>> This patch allows the monitor to be suspended from a monitor callback
>> which
>> will prevent new monitor commands from being executed.
>>
>>
>
> This means that migration is no longer transparent. While migration
> is going on, you can't change the cdrom media, look at cpu registers,
> or do anything that requires the monitor.

On my TODO list is adding a '-d' option like we have in the KVM tree.
It'll be there before it gets committed.

Regards,

Anthony Liguori

> This both reduces the functionality and complicates management
> applications. IMO migration should have asynchronous notification
> (and no, I don't think multiple monitors is the correct solution).
>