[libvirt] [PATCH 0/2] virtportallocator: remember not auto allocated graphics ports

Giuseppe Scrivano gscrivan at redhat.com
Mon Jun 23 18:15:41 UTC 2014


Fix a conflict when both autoport graphics and statically configured
ports are used, like:

    <graphics type='spice' autoport='yes'/>
    <graphics type='vnc' port='5900' autoport='no'/>

More details in 2/2

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

Giuseppe Scrivano (2):
  virtportallocator: new function "virPortAllocatorSetUsed"
  graphics: remember graphics not auto allocated ports

 src/conf/domain_conf.h      |  3 ++
 src/libvirt_private.syms    |  1 +
 src/qemu/qemu_process.c     | 79 +++++++++++++++++++++++++++++++++++++++------
 src/util/virportallocator.c | 40 ++++++++++++++++++++++-
 src/util/virportallocator.h |  4 +++
 5 files changed, 117 insertions(+), 10 deletions(-)

-- 
1.9.3




More information about the libvir-list mailing list