On 10/24/2017 05:09 PM, Dawid Zamirski wrote:
From: Dawid Zamirski <dzrudy(a)gmail.com>
Originally autoport in vbox driver was setting the port to default value
(3389) which caused multiple VM instances use the same port. Since
libvirt XML does not allow to set port ranges, this patch changes the
"autoport" behavior to set VBox's "TCP/Ports" property to an
arbitrary
port range (3389-3689) to avoid that issue.
---
src/vbox/vbox_tmpl.c | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
Reviewed-by: John Ferlan <jferlan(a)redhat.com>
John