[elbe-devel] [PATCH v2 5/5] initvm: Use virtio bus for keyboard and mouse

Holger Dengler holger at hdengler.de
Thu Jun 23 21:21:40 CEST 2022


On 22.06.22 09:09, Bastian Germann wrote:
> This gets rid of ps2 bus and loading the corresponding driver.
> 
> Signed-off-by: Bastian Germann <bage at linutronix.de>
> ---
>  elbepack/init/libvirt.xml.mako | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/elbepack/init/libvirt.xml.mako b/elbepack/init/libvirt.xml.mako
> index 285b875548..93eb58617b 100644
> --- a/elbepack/init/libvirt.xml.mako
> +++ b/elbepack/init/libvirt.xml.mako
> @@ -63,8 +63,8 @@ xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
>    <devices>
>      <emulator>${emulator}</emulator>
>      <controller type='pci' index='0' model='pci-root' />
> -    <input type='mouse' bus='ps2' />
> -    <input type='keyboard' bus='ps2' />
> +    <input type='mouse' bus='virtio' />
> +    <input type='keyboard' bus='virtio' />

virtio for mouse and keyboard is not working with the current qemu/libvirt on debian sid. I had to drop this patch.
Thanks a lot for this series!

>      <graphics type='spice' autoport='yes' />
>      <rng model='virtio'>
>        <backend model='random' />

-- 
Gruß,
Holger Dengler
--
holger at hdengler.de


More information about the elbe-devel mailing list