From: Launchpad Bug Tracker <1926952@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1926952] Re: SPICE support broken with 6.0
Date: Thu, 15 Jul 2021 04:17:19 -0000 [thread overview]
Message-ID: <162632263997.31721.13485526129006459928.malone@loganberry.canonical.com> (raw)
In-Reply-To: 162004304487.4348.9374620020070858180.malonedeb@chaenomeles.canonical.com
[Expired for QEMU because there has been no activity for 60 days.]
** Changed in: qemu
Status: Incomplete => Expired
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1926952
Title:
SPICE support broken with 6.0
Status in QEMU:
Expired
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_FLAGS_DMABUF &&
!displaychangelistener_has_dmabuf(dcl)) {
error_setg(errp, "The console requires display DMABUF support.");
return false;
}
to always return true for dmabuf part works just fine:
if (flags & GRAPHIC_FLAGS_DMABUF &&
!displaychangelistener_has_dmabuf(dcl)) {
error_setg(errp, "The console requires display DMABUF support.");
return true;
}
This behavior wasn't in qemu 5.x version.
To reproduce this bug need to use:
/usr/bin/qemu-system-x86_64 \
-machine q35 \
-enable-kvm \
-no-user-config \
-nodefaults \
-no-hpet \
-display gtk,gl=on \
-device pcie-root-port,port=0x0,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x1 \
-device vfio-pci,id=hostdev2,driver=vfio-pci-nohotplug,romfile=/sys/devices/pci0000:00/0000:00:02.0/gvt_firmware,sysfsdev=/sys/bus/mdev/devices/1ae40c36-b180-4af0-8fab-c27de21f597d,x-igd-opregion=on,ramfb=on,display=on,xres=1920,yres=1080,bus=pcie.0,multifunction=on,addr=0x2 \
-spice port=5900,addr=127.0.0.1,disable-ticketing=on
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1926952/+subscriptions
prev parent reply other threads:[~2021-07-15 4:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-03 11:57 [Bug 1926952] [NEW] SPICE support broken with 6.0 Firecode95
2021-05-03 11:58 ` [Bug 1926952] " Firecode95
2021-05-03 14:33 ` Marc-André Lureau
2021-05-03 14:33 ` elmarco
2021-05-03 15:12 ` Firecode95
2021-05-03 15:33 ` elmarco
2021-05-03 17:14 ` Firecode95
2021-05-15 11:09 ` Thomas Huth
2021-07-15 4:17 ` Launchpad Bug Tracker [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=162632263997.31721.13485526129006459928.malone@loganberry.canonical.com \
--to=1926952@bugs.launchpad.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).