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.
Bug 1982600 - qemu-kvm -help reports -spice despite not being compiled
Summary: qemu-kvm -help reports -spice despite not being compiled
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: qemu-kvm
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Marc-Andre Lureau
QA Contact: Guo, Zhiyi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-15 09:08 UTC by Daniel Berrangé
Modified: 2022-11-15 10:17 UTC (History)
6 users (show)

Fixed In Version: qemu-kvm-7.0.0-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-15 09:53:23 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:7967 0 None None None 2022-11-15 09:54:27 UTC

Description Daniel Berrangé 2021-07-15 09:08:03 UTC
Description of problem:
# /usr/libexec/qemu-kvm  --help 2>&1 | grep spice
-spice [port=port][,tls-port=secured-port][,x509-dir=<dir>]
   enable spice

#  /usr/libexec/qemu-kvm  --spice port=5900
qemu-kvm: --spice port=5900: There is no option group 'spice'
qemu-kvm: --spice port=5900: spice support is disabled

This looks like a bug in qemu-options.hx - this file supports 
conditional builds based on CONFIG_XXXX, and indeed some
SPICE pieces are conditionally removed already, but the main
-spice option is still present.

Version-Release number of selected component (if applicable):
qemu-kvm-6.0.0-7.el9.x86_64

Comment 1 Marc-Andre Lureau 2021-09-09 08:47:23 UTC
upstream patch: "[PATCH] qemu-options.hx: remove -spice options from --help"

Comment 2 Marc-Andre Lureau 2022-03-23 08:09:38 UTC
Merged in for qemu 7.0-rc1:

commit 5324e3e958e87083c87e2965b6c87db24c6afa90
Author: Marc-André Lureau <marcandre.lureau>
Date:   Thu Sep 9 12:44:11 2021 +0400

    qemu-options: define -spice only #ifdef CONFIG_SPICE

Comment 3 Yanan Fu 2022-04-25 12:37:07 UTC
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass.

Comment 5 Guo, Zhiyi 2022-05-11 12:42:02 UTC
Reproduce this issue against qemu-kvm-6.2.0-11.el9_0.2.x86_64:
# /usr/libexec/qemu-kvm --help | grep spice
-spice [port=port][,tls-port=secured-port][,x509-dir=<dir>]
   enable spice
# /usr/libexec/qemu-kvm --spice 5900
qemu-kvm: --spice 5900: spice support is disabled

Verify this issue against qemu-kvm-7.0.0-2.el9.x86_64
# /usr/libexec/qemu-kvm --help | grep spice
(nothing)
# /usr/libexec/qemu-kvm --spice 5900
qemu-kvm: --spice: invalid option

Comment 8 Guo, Zhiyi 2022-05-23 10:22:20 UTC
Verified per comment 5

Comment 10 errata-xmlrpc 2022-11-15 09:53:23 UTC
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 (Moderate: qemu-kvm security, bug fix, and enhancement update), 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-2022:7967


Note You need to log in before you can comment on or make changes to this bug.