OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [PATCH qemu 5/6] virtio-input: control device

On Do, 2014-04-10 at 14:05 +0300, Michael S. Tsirkin wrote:
> On Thu, Apr 10, 2014 at 11:07:53AM +0200, Gerd Hoffmann wrote:
> > Device for sending non-input control messages to the guest.  For now
> > this is only a single event: shutdown requests are sent as power button
> > press to the guest.
> > 
> > Possible other use is signaling sound volume changes to the guest (via
> > EV_ABS / ABS_VOLUME).  I expect we'll find more over time.
> > 
> > Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> Why not use a keyboard device for this?

From the guests point of view this is looks like a keyboard.  A keyboard
with a single key: power.

I prefer a clear separation between devices being feed from user input
and the control device which monitors other event sources (powerdown

There is no fundamental reason why this can't live in the emulated
keyboard though.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]