Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 717958 - qemu-kvm start vnc even though -spice ... is supplied
qemu-kvm start vnc even though -spice ... is supplied
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm (Show other bugs)
6.2
x86_64 Linux
unspecified Severity low
: rc
: ---
Assigned To: Gerd Hoffmann
Virtualization Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-30 10:23 EDT by Michal Haško
Modified: 2015-03-01 23:01 EST (History)
9 users (show)

See Also:
Fixed In Version: qemu-kvm-0.12.1.2-2.183.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-12-06 10:52:59 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1531 normal SHIPPED_LIVE Moderate: qemu-kvm security, bug fix, and enhancement update 2011-12-05 20:23:30 EST

  None (edit)
Description Michal Haško 2011-06-30 10:23:08 EDT
when running:
/usr/libexec/qemu-kvm -spice
qemu-kvm exits gracefully with message:
qemu-kvm: -spice: requires an argument

but when running:
/usr/libexec/qemu-kvm -spice port=
qemu-kvm proceeds to run, and with VNC:
VNC server running on `::1:5900'

Version-Release number of selected component (if applicable):
$ rpm -qa qemu-kvm spice-server
qemu-kvm-0.12.1.2-2.165.el6.x86_64
spice-server-0.8.1-2.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
/usr/libexec/qemu-kvm -spice port=
  
Actual results:
qemu-kvm runs vnc

Expected results:
qemu-kvm should exit or run spice on the default port
Comment 1 Dor Laor 2011-07-07 09:31:55 EDT
Please provide the full command line, better use one from libvirt execution of qemu
Comment 2 Michal Haško 2011-07-11 07:46:34 EDT
The bug happens when qemu-kvm is executed as in the reproducer:

$ /usr/libexec/qemu-kvm -spice port=

I haven't noticed this bug in libvirt.
Comment 8 Sibiao Luo 2011-08-16 05:59:31 EDT
I verify with the latest spice-server and qemu-kvm,but this issue doesn't reproduce.

Version-Release number of selected component (if applicable):
# rpm -qa qemu-kvm spice-server
spice-server-0.8.2-3.el6.x86_64
qemu-kvm-0.12.1.2-2.183.el6.x86_64

Steps to Reproduce:
1.when running:
# /usr/libexec/qemu-kvm -spice

The qemu-kvm exits gracefully with a message:
qemu-kvm: -spice: requires an argument

The qemu-kvm has exited correctly with friendly tips.

2.and when running:
/usr/libexec/qemu-kvm -spice port=

The qemu-kvm also exits gracefully with a message:
neither port nor tls-port specified for spice.

The qemu-kvm has exited correctly with friendly tips.
Comment 9 Shaolong Hu 2011-09-04 22:10:15 EDT
Reproduced on qemu-kvm-0.12.1.2-2.180.el6.x86_64:

Steps to reproduce:
--------------------
1.In host:
/usr/libexec/qemu-kvm -spice port=

Actual results:
----------------
#/usr/libexec/qemu-kvm -spice port=
qemu-kvm proceeds to run, and with VNC:
VNC server running on `::1:5900'



Verified on qemu-kvm-0.12.1.2-2.184.el6.x86_64:

Actual results:
---------------
After step 1:
#/usr/libexec/qemu-kvm -spice port=
neither port nor tls-port specified for spice.


Conclusion:
-------------
According to results above, this bug has been fixed.
Comment 11 errata-xmlrpc 2011-12-06 10:52:59 EST
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.

http://rhn.redhat.com/errata/RHSA-2011-1531.html

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