Bug 787259

Summary: support multiple address='' arguments for <graphics type='spice'>
Product: Red Hat Enterprise Linux Advanced Virtualization Reporter: David Jaša <djasa>
Component: libvirtAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED DEFERRED QA Contact: Yanqiu Zhang <yanqzhan>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: cwei, dyuan, fjin, jsuchane, mzhan, rbalakri, xuzhang, yafu, yalzhang, zpeng
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-25 13:26:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 787256    
Bug Blocks:    

Description David Jaša 2012-02-03 17:42:25 UTC
Description of problem:
expose changes in bug 787256 to libvirt users if not implemented yet

Version-Release number of selected component (if applicable):


How reproducible:
libvirt-0.9.9-2.el6.x86_64

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Michal Privoznik 2012-02-17 08:55:42 UTC
David,

libvirt already allows to insert multiple listen addresses:

 http://libvirt.org/formatdomain.html#elementsGraphics

see <listen> element within <graphics>. It was introduced in v0.9.4;
I am not sure if it is what you're expecting.

Comment 2 Michal Privoznik 2012-02-17 09:02:57 UTC
I've find the bug for which that functionality was added:

 https://bugzilla.redhat.com/show_bug.cgi?id=703851

And here comes the commit:

 http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=ef79fb5b5f56e1995874d0c609da36edfa5acf0d

Comment 4 David Jaša 2012-02-17 15:04:32 UTC
Libvirt does not translate multiple <listen> elements to multiple addr= statements on qemu CLI - this XML:

    <graphics type='spice' autoport='yes' keymap='en-us' connected='disconnect'>
      <listen type='address' address='192.168.122.1'/>
      <listen type='address' address='127.0.0.1'/>
    </graphics>

translates to "-spice port=5900,addr=192.168.122.1,disable-ticketing" while it could translate to "-spice port=5900,addr=192.168.122.1,addr=127.0.0.1,disable-ticketing".

It is not worth spending the time on this untill bug #787256 is resolved somehow.

Comment 13 Jiri Denemark 2014-04-04 21:36:37 UTC
This bug was not selected to be addressed in Red Hat Enterprise Linux 6. We will look at it again within the Red Hat Enterprise Linux 7 product.

Comment 22 Martin Kletzander 2020-02-25 13:26:37 UTC
This bug was closed deferred as a result of bug triage.

Please reopen if you disagree and provide justification why this bug should
get enough priority. Most important would be information about impact on
customer or layered product. Please indicate requested target release.