Bug 1712946
| Summary: | qemu-kvm build is broken due to spice_qxl_set_max_monitors being deprecated | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Danilo de Paula <ddepaula> | |
| Component: | qemu-kvm | Assignee: | Danilo de Paula <ddepaula> | |
| Status: | CLOSED ERRATA | QA Contact: | Guo, Zhiyi <zhguo> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | high | |||
| Version: | 8.1 | CC: | jinzhao, juzhang, rbalakri, virt-maint, zhguo | |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
|
| Target Release: | 8.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | qemu-kvm-2.12.0-75.module+el8.1.0+3252+aa5f0857 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1712947 (view as bug list) | Environment: | ||
| Last Closed: | 2019-11-05 20:50:11 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1712947 | |||
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
QA_ACK, please? Fix included in qemu-kvm-2.12.0-75.module+el8.1.0+3252+aa5f0857 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 Yes! 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