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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changes in v2:

* virPortAllocatorSetUsed returns an error if the port is already used.
* Changed *[pP]ortAllocated to *[pP]ortReserved that keep track only of ports that
  were marked used but not bound.
* Handle separately port and tlsPort for SPICE.

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     | 68 +++++++++++++++++++++++++++++++++++++++++----
 src/util/virportallocator.c | 44 ++++++++++++++++++++++++++++-
 src/util/virportallocator.h |  4 +++
 5 files changed, 113 insertions(+), 7 deletions(-)

-- 
1.9.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]