Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian 12 + Qemu 7.2.4 - Spice detection does not work / no longer needed? #1352

Open
fellaw opened this issue Sep 8, 2023 · 0 comments
Open

Comments

@fellaw
Copy link

fellaw commented Sep 8, 2023

Spice is missing in the template Graphics dropdown on Debian 12, although qemu-system-x86_x64 7.2.4 shows options for it.

ldd qemu-system-x86_x64 does not list libspice-server.so, which is checked against in model/config.py:_qemu_support_spice()
I set return True for me to get it working, but I guess that's not a desired outcome so I didn't commit a push request.

I was able to select Spice after my change, and I was able to connect with virt-viewer.

Version info etc.

/usr/bin/qemu-system-x86_64 --version
QEMU emulator version 7.2.4 (Debian 1:7.2+dfsg-7+deb12u1)
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers

/usr/bin/qemu-system-x86_64 --help | grep spice
-audiodev spice,id=id[,prop[=value][,...]]
-display spice-app[,gl=on|off]
-spice [port=port][,tls-port=secured-port][,x509-dir=

]
enable spice
-chardev spicevmc,id=id,name=name[,debug=debug][,logfile=PATH][,logappend=on|off]
-chardev spiceport,id=id,name=name[,debug=debug][,logfile=PATH][,logappend=on|off]

ldd /usr/bin/qemu-system-x86_64
linux-vdso.so.1 (0x00007ffcff582000)
libpixman-1.so.0 => /lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007f6e33f55000)
libcapstone.so.4 => /lib/x86_64-linux-gnu/libcapstone.so.4 (0x00007f6e33800000)
libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f6e351f4000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f6e351d5000)
libjpeg.so.62 => /lib/x86_64-linux-gnu/libjpeg.so.62 (0x00007f6e33ec2000)
libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007f6e33400000)
libsasl2.so.2 => /lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007f6e33ea5000)
libfdt.so.1 => /lib/x86_64-linux-gnu/libfdt.so.1 (0x00007f6e351c8000)
libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f6e33e77000)
libpmem.so.1 => /lib/x86_64-linux-gnu/libpmem.so.1 (0x00007f6e337ab000)
libseccomp.so.2 => /lib/x86_64-linux-gnu/libseccomp.so.2 (0x00007f6e3378b000)
libnuma.so.1 => /lib/x86_64-linux-gnu/libnuma.so.1 (0x00007f6e33e68000)
libgio-2.0.so.0 => /lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f6e33222000)
libgobject-2.0.so.0 => /lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f6e3372c000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f6e330ea000)
librdmacm.so.1 => /lib/x86_64-linux-gnu/librdmacm.so.1 (0x00007f6e3370d000)
libibverbs.so.1 => /lib/x86_64-linux-gnu/libibverbs.so.1 (0x00007f6e336ec000)
libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f6e33630000)
libslirp.so.0 => /lib/x86_64-linux-gnu/libslirp.so.0 (0x00007f6e330c6000)
libvdeplug.so.2 => /lib/x86_64-linux-gnu/libvdeplug.so.2 (0x00007f6e33e61000)
libbpf.so.1 => /lib/x86_64-linux-gnu/libbpf.so.1 (0x00007f6e3306d000)
liburing.so.2 => /lib/x86_64-linux-gnu/liburing.so.2 (0x00007f6e33629000)
libgmodule-2.0.so.0 => /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f6e33623000)
libnettle.so.8 => /lib/x86_64-linux-gnu/libnettle.so.8 (0x00007f6e3301f000)
libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f6e32f9e000)
libhogweed.so.6 => /lib/x86_64-linux-gnu/libhogweed.so.6 (0x00007f6e32f55000)
libfuse3.so.3 => /lib/x86_64-linux-gnu/libfuse3.so.3 (0x00007f6e32f14000)
libaio.so.1 => /lib/x86_64-linux-gnu/libaio.so.1 (0x00007f6e3361e000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6e32e35000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6e32e15000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6e32c34000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6e3523c000)
libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f6e32b00000)
libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x00007f6e32acf000)
libunistring.so.2 => /lib/x86_64-linux-gnu/libunistring.so.2 (0x00007f6e32919000)
libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f6e32904000)
libndctl.so.6 => /lib/x86_64-linux-gnu/libndctl.so.6 (0x00007f6e328d8000)
libdaxctl.so.1 => /lib/x86_64-linux-gnu/libdaxctl.so.1 (0x00007f6e328cb000)
libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007f6e32868000)
libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f6e3283a000)
libffi.so.8 => /lib/x86_64-linux-gnu/libffi.so.8 (0x00007f6e3282e000)
libpcre2-8.so.0 => /lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007f6e32792000)
libnl-3.so.200 => /lib/x86_64-linux-gnu/libnl-3.so.200 (0x00007f6e3276f000)
libnl-route-3.so.200 => /lib/x86_64-linux-gnu/libnl-route-3.so.200 (0x00007f6e326de000)
libelf.so.1 => /lib/x86_64-linux-gnu/libelf.so.1 (0x00007f6e326c3000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f6e326b9000)
libkmod.so.2 => /lib/x86_64-linux-gnu/libkmod.so.2 (0x00007f6e3269a000)
libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f6e32643000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f6e32614000)
libcrypto.so.3 => /lib/x86_64-linux-gnu/libcrypto.so.3 (0x00007f6e32000000)

ldd -u /usr/bin/qemu-system-x86_64 is empty.

cat /etc/debian_version
12.0

uname -a
Linux myhost 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux

apt list | grep qemu-system-x86
qemu-system-x86/stable,now 1:7.2+dfsg-7+deb12u1 amd64 [installed]

apt list | grep libspice-server
libspice-server1/stable,now 0.15.1-1 amd64 [installed]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant