[Pkg-libvirt-maintainers] Bug#1094489: libvirt-daemon-driver-qemu: request to add support for Braille display and SDL
Adam Myrow
myrowa at bellsouth.net
Tue Jan 28 15:52:08 GMT 2025
Package: libvirt-daemon-driver-qemu
Version: 9.0.0-4+deb12u2
Severity: wishlist
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
I am blind, and have a Braille display. I would like to be able to use the
Qemu feature where I can pass the Braille display to the guest. With a
plain Qemu instance, this can be done by specifying "-display sdl" and
"-usbdevice braille" as options. The SDL display apparently is the only
one that works with the Braille device. Without this capability, I have to
use USB passthrough, and must stop Brltty in order to get the display to
work in the guest. This is irritating, as I then lose Braille in the host
OS. When Qemu is using the "-usbdevice braille" option, the Braille
display works seemlessly between the host OS and the guest OS. This
feature is the main reason I want to use Qemu, and I like the libvirt
interface, as it makes configuring a guest far easier than writing complex
scripts to get the exact right command line.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Because the Braille device is not directly supported, I used the procedure
to add custom arguments to the Qemu command line. I changed the top of the
XML file so that it begins as follows.
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
I then added the following to the end of the XML file for the domain.
<qemu:commandline>
<qemu:arg value='-usbdevice'/>
<qemu:arg value='braille'/>
</qemu:commandline>
I then verified that the guest could see the display. It did, and is
communicating with it. However, because it requires SDL to share the
display between the host and guest, no text appears. So, I next changed
the display to sdl as follows.
<graphics type='sdl' display=':0' xauth='/home/myrowa/.Xauthority'>
* What was the outcome of this action?
The domain failed to start, giving the rather cryptic error "qemu
unexpectedly closed the monitor."
* What outcome did you expect instead?
I expected the SDL window to come up, and the Braille display to show the
text from the guest OS.
-- System Information:
Debian Release: 12.9
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-30-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libvirt-daemon-driver-qemu depends on:
ii libc6 2.36-9+deb12u9
ii libgcc-s1 12.2.0-14
ii libglib2.0-0 2.74.6-2+deb12u5
ii libgnutls30 3.7.9-2+deb12u3
ii libselinux1 3.4-1+b6
ii libvirt0 9.0.0-4+deb12u2
ii libxml2 2.9.14+dfsg-1.3~deb12u1
Versions of packages libvirt-daemon-driver-qemu recommends:
ii swtpm 0.7.1-1.3
ii swtpm-tools 0.7.1-1.3
libvirt-daemon-driver-qemu suggests no packages.
-- no debconf information
More information about the Pkg-libvirt-maintainers
mailing list