Package: qemu-system-x86
Version: 1:9.2.0+ds-5
Severity: normal

I recently upgraded qemu to this version (9.2.0+ds-5) and the console no longer
shows anything.  I normally run qemu with libvirt and virt-manager.
To rule out upgraded libvirt, I tried launching qemu with similar options as
libvirt did and -display gtk.  I still get the same blackscreen.  Appears that
keyboard input works, when pressing enter, the vm starts booting and once the
video driver loads, I'm able to see text and graphics.  This works for both
libvirt and standalone.

I tried to change from qxl-vga to VGA and cirrus-vga with the same results.

If I downgrade to 9.0.2+ds-7 it works as expected with both
libvirt/virt-manager and launching qemu directly.

The first version to cause this issue is 9.1.0+ds-2 (I could not find -1)

The system has been fully updated to latest sid as of 20250211 except for a
few python libraries and virt-manager.

This is an example of the command used to launch qemu standalone:
/usr/bin/qemu-system-x86_64 \
-name guest=box,debug-threads=on \
-S \
-machine pc-q35-7.2,usb=off,dump-guest-core=off,acpi=on \
-accel kvm \
-cpu qemu64 \
-m size=4194304k \
-overcommit mem-lock=off \
-smp 2,sockets=1,dies=1,clusters=1,cores=2,threads=1 \
-uuid 538bc7fc-9a8f-40ec-884f-2a870e74478b \
-no-user-config \
-nodefaults \
-rtc base=utc \
-no-shutdown \
-boot menu=on,strict=on \
-device 
'{"driver":"pcie-root-port","port":16,"chassis":1,"id":"pci.1","bus":"pcie.0","multifunction":true,"addr":"0x2"}'
 \
-device 
'{"driver":"pcie-root-port","port":17,"chassis":2,"id":"pci.2","bus":"pcie.0","addr":"0x2.0x1"}'
 \
-device 
'{"driver":"pcie-root-port","port":18,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x2.0x2"}'
 \
-device '{"driver":"qemu-xhci","id":"usb","bus":"pci.1","addr":"0x0"}' \
-device '{"driver":"virtio-scsi-pci","id":"scsi0","bus":"pcie.0","addr":"0x4"}' 
\
-device 
'{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pcie.0","addr":"0x7"}'
 \
-blockdev 
'{"driver":"file","filename":"/vm/box.qcow2","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap","cache":{"direct":true,"no-flush":false}}'
 \
-blockdev 
'{"node-name":"libvirt-1-format","read-only":false,"discard":"unmap","detect-zeroes":"unmap","cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-1-storage","backing":null}'
 \
-device 
'{"driver":"scsi-hd","bus":"scsi0.0","channel":0,"scsi-id":0,"lun":0,"device_id":"drive-scsi0-0-0-0","drive":"libvirt-1-format","id":"scsi0-0-0-0","bootindex":1,"write-cache":"on"}'
 \
-device '{"driver":"usb-tablet","id":"input2","bus":"usb.0","port":"1"}' \
-audiodev '{"id":"audio1","driver":"none"}' \
-device 
'{"driver":"qxl-vga","id":"video0","max_outputs":1,"ram_size":67108864,"vram_size":67108864,"vram64_size_mb":0,"vgamem_mb":16,"bus":"pcie.0","addr":"0x1"}'
 \
-global ICH9-LPC.noreboot=off \
-watchdog-action reset \
-sandbox 
on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on \
-display gtk

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.8.2 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages qemu-system-x86 depends on:
ii  ipxe-qemu           1.21.1+git20220113.fbbdc3926+dfsg-4
ii  libaio1t64          0.3.113-8+b1
ii  libbpf1             1:1.5.0-2
ii  libc6               2.40-6
ii  libcapstone5        5.0.5-1+b1
ii  libfdt1             1.7.2-2+b1
ii  libfuse3-3          3.14.0-10
ii  libglib2.0-0t64     2.83.3-2
ii  libgmp10            2:6.3.0+dfsg-3
ii  libgnutls30t64      3.8.9-2
ii  libhogweed6t64      3.10-1+b1
ii  libibverbs1         56.0-1
ii  libjpeg62-turbo     1:2.1.5-3+b1
ii  libnettle8t64       3.10-1+b1
ii  libnuma1            2.0.18-1+b1
ii  libpixman-1-0       0.44.0-3
ii  libpmem1            1.13.1-1.1+b1
ii  libpng16-16t64      1.6.46-4
ii  librdmacm1t64       56.0-1
ii  libsasl2-2          2.1.28+dfsg1-8+b1
ii  libseccomp2         2.5.5-2
ii  libslirp0           4.8.0-1+b1
ii  libudev1            257.2-3
ii  liburing2           2.9-1
ii  libvdeplug2t64      4.0.1-5.1+b1
ii  libzstd1            1.5.6+dfsg-2
ii  qemu-system-common  1:9.2.0+ds-5
ii  qemu-system-data    1:9.2.0+ds-5
ii  seabios             1.16.3-2
ii  zlib1g              1:1.3.dfsg+really1.3.1-1+b1

Versions of packages qemu-system-x86 recommends:
ii  ovmf                        2024.11-5
pn  qemu-block-extra            <none>
ii  qemu-system-gui             1:9.2.0+ds-5
ii  qemu-system-modules-opengl  1:9.2.0+ds-5
ii  qemu-system-modules-spice   1:9.2.0+ds-5
ii  qemu-utils                  1:9.2.0+ds-5

Versions of packages qemu-system-x86 suggests:
pn  samba  <none>
pn  vde2   <none>

-- no debconf information

Reply via email to