Description of problem: The port number, which is specified as '--vncport' option with 'virt-install' at guest creation, is not used when the PV guest domain is started by 'virsh start' command, even though 'vncdisplay' is described at the configuration file. Version-Release number of selected component (if applicable): /python-virtinst-0.300.2-5.el5 How reproducible: Every time Steps to Reproduce: 1. Create a PV guest domain with '--vncport' option # virt-install --name=guest_dom --paravirt --vnc --vncport=5930 2. Check the port number # virsh vncdisplay guest_dom :30 3. Start the guest domain after creating the guest # virsh start guest_dom 4. Check the port number # virsh vncdisplay guest_dom :0 Actual results: An arbitrary unused port number is used when the PV guest domain is started by 'virsh start'. Expected results: The port number, which is specified as '--vncport' option with 'virt-install' at guest creation, is used for the PV guest domain. Additional info: Proposed patch attached. Customer has verified that the patch fixes the problem.
Created attachment 302184 [details] Proposed patch
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Hi, looks like your patch is against libvirt, so I'm reassigning to that component.
The patch looks reasonable to me, recommend approving for 5.3
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0142.html