Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionDanilo de Paula
2019-05-22 14:46:52 UTC
Trying to build qemu-kvm and it failed with the following message:
hw/display/qxl.c: In function 'qxl_spice_monitors_config_async':
hw/display/qxl.c:280:13: error: 'spice_qxl_set_max_monitors' is deprecated [-Werror=deprecated-declarations]
spice_qxl_set_max_monitors(&qxl->ssd.qxl, qxl->max_outputs);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/spice-server/spice.h:26,
from /builddir/build/BUILD/qemu-2.12.0/include/ui/qemu-spice.h:25,
from hw/display/qxl.h:11,
from hw/display/qxl.c:33:
/usr/include/spice-server/spice-qxl.h:105:6: note: declared here
void spice_qxl_set_max_monitors(QXLInstance *instance,
^~~~~~~~~~~~~~~~~~~~~~~~~~
I didn't look into this very deeply, but looks like spice deprecated one of the functions we use in RHEL-8.1.0, making qemu-kvm for RHEL-8.1.0 and RHEL-AV-8.1.0 unbuildable.
Good news is that this has been fixed upstream, but we need to apply this ASAP.
commit be812c0ab7d5ab741d0d87387a75a0e8bb6461e7
Author: Lukáš Hrázký <lhrazky>
Date: Fri Feb 15 16:09:19 2019 +0100
spice: set device address and device display ID in QXL interface
Looks like the following commit is also necessary:
commit 2728a57a061af92b476f926b7fb66cb3ac60ab50
Author: Philippe Mathieu-Daudé <f4bug>
Date: Wed Oct 10 23:53:55 2018 +0200
hw/pci: Add missing include
Hi Danilo,
Can I mark this bug verified directly since the qemu pkgs have been built successfully? Seems this bug only impact to the build progress, function testing against qemu with multiple displays enabled doesn't have abnormal issues.
BR/
Zhiyi, Guo
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2019:3345
Trying to build qemu-kvm and it failed with the following message: hw/display/qxl.c: In function 'qxl_spice_monitors_config_async': hw/display/qxl.c:280:13: error: 'spice_qxl_set_max_monitors' is deprecated [-Werror=deprecated-declarations] spice_qxl_set_max_monitors(&qxl->ssd.qxl, qxl->max_outputs); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/spice-server/spice.h:26, from /builddir/build/BUILD/qemu-2.12.0/include/ui/qemu-spice.h:25, from hw/display/qxl.h:11, from hw/display/qxl.c:33: /usr/include/spice-server/spice-qxl.h:105:6: note: declared here void spice_qxl_set_max_monitors(QXLInstance *instance, ^~~~~~~~~~~~~~~~~~~~~~~~~~ I didn't look into this very deeply, but looks like spice deprecated one of the functions we use in RHEL-8.1.0, making qemu-kvm for RHEL-8.1.0 and RHEL-AV-8.1.0 unbuildable. Good news is that this has been fixed upstream, but we need to apply this ASAP. commit be812c0ab7d5ab741d0d87387a75a0e8bb6461e7 Author: Lukáš Hrázký <lhrazky> Date: Fri Feb 15 16:09:19 2019 +0100 spice: set device address and device display ID in QXL interface