[Bug 78541] New: QXL DRM Driver Freezes QEMU KVM Guest when Switching to Text Console

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat May 10 12:38:19 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=78541

          Priority: medium
            Bug ID: 78541
          Assignee: dri-devel at lists.freedesktop.org
           Summary: QXL DRM Driver Freezes QEMU KVM Guest when Switching
                    to Text Console
          Severity: major
    Classification: Unclassified
                OS: Linux (All)
          Reporter: reimth at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: DRI CVS
         Component: DRM/other
           Product: DRI

Host: 
- Debian Linux with kernel 3.11-2-amd64
- QEMU emulator version 1.7.0 (Debian 1.7.0+dfsg-2)
- Spice server 0.12.4
- libvirt Virtual Machine Manager 0.9.5

Guest:
- Ubuntu Saucy with kernel 3.11.0-20-generic

Reproduce:
- Start qemu with option -global qxl-vga.revision=4, which allows drm to load
the 
  qxl driver
  Other parameters related to graphics:
  + -device
qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,bus=pci.0,addr=0x2
  + -spice port=5900,addr=127.0.0.1,disable-ticketing,seamless-migration=on
  + -chardev spicevmc,id=charchannel0,name=vdagent
  + -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
- Check with dmesg, that QXL DRM has been correctly initialised
- Send Ctrl-Alt-Fn (n = 1, 2, ...) to VM guest

Bug:
Virtual machine manager will switch to console but freezes with strange
display. Guest cannot be contacted any more. Switching back to vc is not
possible. ssh connections will hang. No netconsole output. The guest must be
restarted using forced shutdown.

The problem occurs also for qemu 2.0. It does not occur, if only userspace
driver is used (omit option -global qxl-vga.revision=4). In this case lspci
reports:
00:02.0 VGA compatible controller: Red Hat, Inc. Device 0100 (rev 03)
and dmesg reports:
[drm] Initialized drm 1.1.0 20060810
[drm:qxl_pci_probe] *ERROR* qxl too old, doesn't support
client_monitors_config, use xf86-video.

I can provide further information, but need some guidance, what you prefer in
order to locate the root cause of the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140510/d428d2ef/attachment.html>


More information about the dri-devel mailing list