Support Case Study

QXL Shutdown Hang: 17 Hours to VirtIO Fix

A Linux VPS on Database Mart server hosting looked “on” in the panel while SSH and HTTP were dead. The customer’s remote-management agent triggered a reboot; PID 1 blocked inside the QXL graphics path for ~17h 35m until a job timeout forced recovery. Our hosting support team correlated guest journals, QEMU/libvirt logs, and panel records on USA hosting nodes, executed a planned QXL → VirtIO video change with XML backup, and verified network identity—so a USA hosting provider customer could reach ~39s clean reboots before production.

01 · Resolution

How Support Resolved It

November 6, 2026 · Intake

“Powered On” In The Panel, Dead On The Internet

A customer engineering team (Docker-based Odoo stack on Ubuntu) reported their VPS on our hosting provider network was fully unreachable—SSH, HTTP/HTTPS, and ICMP failed—while the console still showed the VM running. They had attempted a normal shutdown; it hung until a forced power-off. After boot, repeated kernel lines pointed at qxl and [TTM] Buffer eviction failed.

Engineer Robert requested secure SSH details; engineer Cathy coordinated firewall whitelisting of the support IP range (108.181.94.0/24 — customer-confirmed, credentials not published) so investigators could work without repeated access tickets.

November 9, 2026 · Triage

Host Node Healthy — Guest Logs Incomplete For The Gap

Engineer Queta reviewed node boot records, QEMU logs, and guest-visible logs. Finding: no host-node reboot or network fault in the incident window; the later stop at 13:54 UTC was a normal libvirt termination—not a hypervisor crash.

Initial assessment separated QXL/TTM log noise (common on headless VMs with a virtual GPU) from the public reachability question. QEMU had no serial file logging configured at incident time, so host-side serial could not fill the multi-hour guest gap. Customer ISP issues were noted but did not overlap the start of the outage.

November 10, 2026 · Root Cause

Customer Trace + Our Forensics — QXL Deadlock On Shutdown

The customer supplied a full kernel call trace: systemd (PID 1) blocked in drm_fb_helper / fbcon while a workqueue waited in qxl_fence_wait—a path that cannot finish shutdown or honor job timeouts until the fence clears.

Support aligned on the timeline:

  • 16:19:22 Nov 05 — Guest reboot initiated (customer RMM).
  • 16:21:55 — PID 1 blocked >122s; Docker force-stopped.
  • 16:19 → 09:54 Nov 06 — VM “up” but unusable (~17h 35m).
  • 09:54:00 — QXL VRAM allocation failure; reboot job timeout → forced reboot path.
  • 13:54–13:55 — QEMU reason=destroyed; new process; guest online again.

Panel review: no console, reset, snapshot, or migration in the 09:17–09:54 window—customer recovery clicks at 13:48–13:55 were after the fact. A separate interactive reboot test on Nov 06 completed in ~4 seconds, ruling out a generic broken shutdown stack.

Nov 05 16:21:55  kernel: INFO: task systemd:1 blocked for more than 122 seconds.
  ... qxl_fence_wait → ttm_bo_evict → drm_fb_helper_damage_work
Nov 06 09:54:00  kernel: qxl: failed to allocate VRAM BO
Nov 06 09:54:00  systemd[1]: Forcibly rebooting: job timed out
2026-11-06T13:54:52Z  qemu: terminating on signal 15 from libvirtd
2026-11-06 13:54:54      shutting down, reason=destroyed

November 10–11, 2026 · Change Plan

Six-Point QXL Removal — Agreed Before Maintenance

Customer accepted removing QXL on this headless workload. Support documented:

  1. Steps — Full power-off; change libvirt <video>; backup XML first.
  2. Downtime — ~5–10 minutes for normal stop, change, boot, verify.
  3. PCI / NIC naming — Preserve NIC, MAC, disk controllers; verify interface name and firewall rules after boot.
  4. Rollback — Restore pre-change XML and power on.
  5. Timing — Customer powered off Nov 10; support could proceed same day.
  6. Serial console — Customer requested host serial + file logging; support declined for internal security policy and recommended persistent journald in the guest instead.

November 12, 2026 · Maintenance

QXL Removed — VirtIO Video With Network Parity

After backup, support replaced QXL with VirtIO (not type="none") so the panel still had a text-capable console for boot troubleshooting while eliminating the qxl driver path that caused the hang.

<video>
  <model type='virtio' heads='1' primary='yes'/>
  <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</video>

Post-change verification (values redacted):

CheckResult
NIC nameUnchanged (enp21s0)
MAC addressUnchanged (redacted)
Public IPv4Unchanged (redacted)
NIC PCI locationStable (0000:15:00.0)
Guest boot07:40 UTC — running

QXL path removed XML backed up hosting verified

November 12, 2026 · Closure

Customer Sign-Off — Clean Reboot In ~39 Seconds

Customer confirmed the VM was operational and that a controlled reboot completed in ~39s with a clean shutdown (journal stopped, no blocked PID 1). They documented reservations: VirtIO still exposes a display device; if fbcon/DRM issues recur, they may request full video removal. They accepted no host serial channel and future triage via host QEMU/libvirt logs, panel operations, and guest journald under /var/log/journal/ (~1G used of 4G cap at close).

“Thank you for the fast turnaround, excellent service from your side.”
Customer engineering · November 12, 2026

02 · What We Delivered

Support Capabilities Shown

Headless KVM guests are a staple of server hosting and managed VPS plans; this case shows what a USA hosting provider should deliver when panel state and guest reality diverge.

  • Coordinated access — Firewall range guidance and secure credential handling (never echoed in public case copy).
  • Multi-layer logs — Guest journal, QEMU/libvirt, panel operations cross-checked with customer traces.
  • Honest limits — Stated when serial logs did not exist and which panel actions were out of scope.
  • Maintenance discipline — XML backup, rollback plan, PCI/NIC verification after topology change.
  • Security trade-offs — Documented why host serial was not enabled and what replaces it for future triage.
  • Long-form technical comms — Point-by-point replies suitable for production handoff (customer-noted high communication scores).

03 · Guide

Geek Tips — Headless KVM Guests

T1Why QXL On A Headless VPS?

KVM often attaches QXL by default. With no real display session, the guest driver still allocates VRAM and spams TTM errors. That noise is not always outage-causing—but it can block shutdown on the fbcon/DRM path, as in this case.

T2VirtIO Video Vs type="none"

none removes the virtual GPU entirely (best for pure headless). virtio removes QXL but keeps a virtual display for serial/panel text consoles—useful when you still want provider-side boot visibility without the qxl driver.

T3Always Power Off For Video Model Changes

Changing <video> is a device topology change; reboot alone may not re-enumerate. Plan a short maintenance window and verify NIC name, MAC, and public IP after boot.

T4Logging When Serial Is Off

Enable persistent journald in the guest for post-mortems. Pair with host QEMU/libvirt logs and panel audit when investigating “up but unreachable” Linux VPS on USA hosting infrastructure.

“When the console says on and SSH says no—the logs have to agree across guest, QEMU, and panel.”

Database Mart support — deep KVM triage and safe libvirt changes for production-bound hosting workloads on USA server hosting.

Last Updated:   11/23/2026
Outline