]> xenbits.xensource.com Git - libvirt.git/commit
vbox: Read runtime RDP port and handle autoport
authorDawid Zamirski <dzamirski@datto.com>
Tue, 24 Oct 2017 21:09:17 +0000 (17:09 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 26 Oct 2017 05:03:18 +0000 (01:03 -0400)
commit55223c2b1684973f16e5c063674d8ffe2705cd85
treee871f0de4ece67927a0a0d9e787925dbc8f6f692
parent380815f8eff4c7b589a85b06f0969fe303424689
vbox: Read runtime RDP port and handle autoport

VirutalBox has a IVRDEServerInfo structure available that
gives the effective runtime port that the VM is using when it's
running. This is useful when the "TCP/Ports" VBox property was set to
port range (e.g. via autoport = "yes" or via VBoxManage) in which
case it would be impossible to get the "active" port otherwise.
src/vbox/vbox_common.c
src/vbox/vbox_tmpl.c
src/vbox/vbox_uniformed_api.h