SPICE support broken with 6.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
Using latest relase 6.0.0 while using Intel GVT-G DMA-BUF and SPICE for usb redirection Qemu won't start:
qemu-system-x86_64: The console requires display DMABUF support.
However just patching ui/console.c:
if (flags & GRAPHIC_
return false;
}
to always return true for dmabuf part works just fine:
if (flags & GRAPHIC_
return true;
}
This behavior wasn't in qemu 5.x version.
To reproduce this bug need to use:
/usr/bin/
-machine q35 \
-enable-kvm \
-no-user-config \
-nodefaults \
-no-hpet \
-display gtk,gl=on \
-device pcie-root-
-device vfio-pci,
-spice port=5900,
Also just removing spice part makes it bootable: addr=127. 0.0.1,disable- ticketing= on
-spice port=5900,