[libvirt] [PATCH 0/8] qemu: add support for virtio-input devices

Pavel Hrdina phrdina at redhat.com
Mon Nov 30 12:22:22 UTC 2015


On Mon, Nov 30, 2015 at 11:25:19AM +0100, Gerd Hoffmann wrote:
>   Hi,
> 
> > I have only one thing to mention, but it's not in scope of this series, it's
> > an existing behavior.  If you define a new guest with mouse/keyboard input
> > device with bus!=ps2 and graphics is defined, then we always add implicit mouse
> > and keyboard with bus=ps2 which leads to having two different mouses and
> > keyboards defined for the guest.  We should probably update the code to not add
> > any implicit mouse or keyboard if there is already one.
> 
> Adding ps/2 mouse + keyboard unconditionally makes sense (for x86) as
> any qemu guest will actually have a ps/2 keybaord and ps/2 mouse (even
> when started without graphics).  That is hard-coded in the machine type
> init and can't be turned off.
> 
> cheers,
>   Gerd
> 

Oh, good to know, thanks.




More information about the libvir-list mailing list