<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - QXL DRM Driver Freezes QEMU KVM Guest when Switching to Text Console"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=78541">78541</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>QXL DRM Driver Freezes QEMU KVM Guest when Switching to Text Console
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>reimth@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>DRI CVS
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/other
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>