public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Kevin Wolf <kwolf@redhat.com>
Cc: dlaor@redhat.com, Avi Kivity <avi@redhat.com>,
	Chris Wright <chrisw@redhat.com>,
	kvm@vger.kernel.org, qemu-devel@nongnu.org
Subject: Re: KVM call agenda for Apr 27
Date: Tue, 27 Apr 2010 08:15:01 -0500	[thread overview]
Message-ID: <4BD6E355.1060107@codemonkey.ws> (raw)
In-Reply-To: <4BD6B12C.1010908@redhat.com>

On 04/27/2010 04:41 AM, Kevin Wolf wrote:
> Am 27.04.2010 11:32, schrieb Dor Laor:
>    
>> On 04/27/2010 12:22 PM, Avi Kivity wrote:
>>      
>>> On 04/27/2010 12:08 PM, Dor Laor wrote:
>>>        
>>>> On 04/27/2010 11:56 AM, Avi Kivity wrote:
>>>>          
>>>>> On 04/27/2010 11:48 AM, Dor Laor wrote:
>>>>>            
>>>>>> IMHO the whole thing is way over engineered:
>>>>>> a) Having another channel into qemu is complicating management
>>>>>> software. Isn't the monitor should be the channel? Otherwise we'll
>>>>>> need to create another QMP (or nbd like Avi suggest) for these
>>>>>> actions. It's extra work for mgmt and they will have hard time to
>>>>>> understand events interleaving of the various channels
>>>>>>              
>>>>> block layer plugins allow intercepting all interesting block layer
>>>>> events, not just write-past-a-watermark, and allow actions based on
>>>>> those events. It's a more general solution.
>>>>>            
>>>> No problem there, as long as we do try to use the single existing QMP
>>>> with the plugins. Otherwise we'll create QMP2 for the block events in
>>>> a year from now.
>>>>          
>>> I don't see how we can interleave messages from the plugin into the qmp
>>> stream without causing confusion.
>>>        
>> Those are QMP async events.
>>
>> Since Kevin suggested adding even more events (was is cynical?)
>>      
> The part about adding a scripting engine was.
>
> The idea of adding a generic event (one event, not even more!) for a QMP
> query-* result change doesn't sound that bad on second thought, though.
> It's not specific for watermarks and looks less complicated than all the
> plugin, NBD and QMP2 stuff.
>
> It's almost the same as Anthony's polling suggestion (works with query-*
> results from user perspective), just without polling.
>    

Is this really necessary other than making people feel less bad about 
polling?

How I understand the use case, polling every five seconds would be 
completely reasonable in addressing the use-case.  It might not be as 
sexy as a generic event notification mechanism but not everything can't 
be JSON.

Regards,

Anthony Liguori

> Kevin
>    


  reply	other threads:[~2010-04-27 13:15 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-26 17:26 KVM call agenda for Apr 27 Chris Wright
2010-04-26 17:51 ` Anthony Liguori
2010-04-26 22:12   ` Chris Wright
2010-04-26 22:36     ` Anthony Liguori
2010-04-27  8:14       ` Avi Kivity
2010-04-27  8:48         ` Dor Laor
2010-04-27  8:56           ` Avi Kivity
2010-04-27  9:08             ` Dor Laor
2010-04-27  9:22               ` Avi Kivity
2010-04-27  9:32                 ` Dor Laor
2010-04-27  9:41                   ` Kevin Wolf
2010-04-27 13:15                     ` Anthony Liguori [this message]
2010-04-27  9:16             ` Kevin Wolf
2010-04-27  9:28               ` Avi Kivity
2010-04-27 13:03         ` Anthony Liguori
2010-04-27 13:08           ` Avi Kivity
2010-04-27 13:11           ` Daniel P. Berrange
2010-04-27 13:15             ` Gleb Natapov
2010-04-27 13:38               ` Daniel P. Berrange
2010-04-27 14:10                 ` Gleb Natapov
2010-04-27  8:53       ` [Qemu-devel] " Kevin Wolf
2010-04-27 13:10         ` Anthony Liguori
2010-04-27 13:18           ` Kevin Wolf
2010-04-27 13:21             ` Anthony Liguori
2010-04-27 13:42               ` Kevin Wolf
2010-04-27 13:48                 ` Anthony Liguori
2010-04-27 13:58                   ` Kevin Wolf
2010-04-27 14:01                     ` Anthony Liguori
2010-04-27 11:11       ` Gleb Natapov
2010-04-27 13:00         ` Anthony Liguori
2010-04-27 13:05           ` Gleb Natapov
2010-04-27 13:19             ` Anthony Liguori
2010-04-27 13:29               ` Gleb Natapov
2010-04-27  1:15   ` [Qemu-devel] " Luiz Capitulino
2010-04-27  3:39     ` Aurelien Jarno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BD6E355.1060107@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=avi@redhat.com \
    --cc=chrisw@redhat.com \
    --cc=dlaor@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox