qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 08/11] QMP: Asynchronous messages enable/disable


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH 08/11] QMP: Asynchronous messages enable/disable support
Date: Mon, 25 Jan 2010 16:33:02 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc12 Thunderbird/3.0.1

On 01/25/2010 04:29 PM, Markus Armbruster wrote:

I agree with Anthony that async message masking doesn't really affect
the protocol proper.  We could pretend it does so we can let protocol
capability negotiation (which we need anyway) cover it.  But I'm
certainly fine with keeping it separate.

Whether we call it protocol or not, the question whether we should
permit changing the masks at any time is valid, I think.  Permitting it
adds a bit of conceptual complexity, as a command disabling reporting of
an event can race with the event.  But that's just giving clients some
more rope.  I'm fine with that.

Without disagreeing with the rest (which means I'm just nit-picking), there's no race. Once the command that disables an event report returns to the caller, the event can no longer be reported.

--
error compiling committee.c: too many arguments to function





reply via email to

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