qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] RFC: async commands with QMP


From: Marc-André Lureau
Subject: Re: [Qemu-devel] RFC: async commands with QMP
Date: Wed, 29 Jul 2015 17:32:59 +0200

Hi Eric

On Wed, Jul 29, 2015 at 5:10 PM, Eric Blake <address@hidden> wrote:
> In fact, see commit 65207c59, where we ripped it out with prejudice.

Whoo, I should have looked at git history :)

That implementation looks quite bad indeed (suspending monitor?) And
it wasn't properly documented it seems. No wonders it wasn't used.
Btw, apparently it's the reason why "id" is there in the first place.
I don't think there is a good reason to keep having it in sync
commands.

>
>>  One of the benefits of this is that it means
>> that libvirt can determine current status of ongoing background jobs
>> when it restarts and reconnects to a previously launched QEMU, where
>> as an async command approach is tied to the specific monitor connection
>> that is open.
>
> And that is a real concern with any new proposal for async commands.

I don't think it's incompatible with having async commands, since in
fact they are already async commands with dummy quick return. Some
async should be cancelled when the client is gone (this depends on the
async command, whether it is tight to a client or not). However, no
old async return should be given to a new client.

-- 
Marc-André Lureau



reply via email to

[Prev in Thread] Current Thread [Next in Thread]