Package: qemu
Version: 1:2.10.0+dfsg-2
Severity: normal

I've encountered several issue with this version of qemu and I highly
suspect they stem from the SDL2 switch.
I will file different bugreports for the problems i've encountered,
guessing it's better for the qemu's maintainer.

I'm currently using this release on two Intel based PCs: an Haswell
laptop (the one on which i'm writing this BR) and an Ivy Bridge desktop,
both with an integrated Intel graphics card.
On both PC I use an updated Debian Sid with Mate Desktop.

Both PC experienced the same problems and on the desktop PC i've
workarounded them downgrading only qemu-system-x86 to 1:2.10.0+dfsg-1.
I'm going to do this downgrade also on the notebook as soon as i've
finished reporting these problems, because here qemu's usability
is severely compromised.

###########


Try this setup:
qemu-system-x86_64 \
    -name debian-sid-32 \
    -machine type=pc,accel=kvm,vmport=off,usb=on \
    -smp sockets=1,cores=1,threads=2 \
    -m 512 \
    -device virtio-keyboard-pci \
    -device virtio-tablet-pci \
    -device virtio-gpu-pci \
    -device virtio-net-pci,netdev=net0 \
    -device virtio-scsi-pci \
    -device scsi-hd,drive=hd0,bootindex=1 \
    -netdev user,id=net0 \
    -drive if=none,id=hd0,format=qcow2,discard=on,file="img.qcow2"
    -rtc base=utc \
    &

When I start this VM I immedialtely see what is reported in
"01_qemu-starts-two-windows.png" attachement: two windows opens, one for
the VM (w1) and one blank Windows (w2) saying "Guest has not initialized
the display (yet)".
There are different problems with this:
- Annoying: the w2 window goes foreground, here covering w1, but the
  keyboard focus goes to w1;
- Dangerous: if you try to close w2, also the VM will close.

Since what is showed on w2 is what you previously saw pressing
CTRL-ALT-2, you can close that window pressing that key combination.

Looks like this is specific to virtio-gpu, because if you use, for
example, qxl-vga o cirrus-vga, you don't have that window.

Always related to this multiple windows issue is the fact that now if
you press CTRL-ALT-2/3/4/5, you obtain 4 different windows, one for each
key combination. This can be considered a feature but remain the
dangerous fact that closing one of them will abruptly close also the VM.
Downgrading to dfsg1 will restore all these windows inside the VM's
window.

Also, try to play pressing CTRL-ALT-2/3/4/5 and try to switch the focus
between them: you will notice that sometimes the key combinations seems
to have no effect and sometimes there are focus problems, with the
specific window that doesn't get the focus and stay backward.

Cesare.


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

Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), 
LANGUAGE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages qemu depends on:
ii  qemu-system  1:2.10.0+dfsg-2
ii  qemu-user    1:2.10.0+dfsg-2
ii  qemu-utils   1:2.10.0+dfsg-2

qemu recommends no packages.

Versions of packages qemu suggests:
ii  qemu-user-static  1:2.10.0+dfsg-2

-- no debconf information

Reply via email to