[libvirt] [PATCH] qemu: Return SPICE ports on domain shutdown
Eric Blake
eblake at redhat.com
Wed Dec 22 15:43:53 UTC 2010
On 12/22/2010 06:42 AM, Jiri Denemark wrote:
> Commit ed0d9f6c0cdd56f38ce31b8d9b5293162addaa23 added support for
> automatic port allocation for SPICE but forgot to mark such ports as
> unused when they are not used anymore.
> ---
> src/qemu/qemu_driver.c | 30 ++++++++++++++++++++++--------
> 1 files changed, 22 insertions(+), 8 deletions(-)
>
> diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
> index 1a26a50..1de6f4a 100644
> --- a/src/qemu/qemu_driver.c
> +++ b/src/qemu/qemu_driver.c
> @@ -2491,6 +2491,19 @@ static int qemudNextFreePort(struct qemud_driver *driver,
> }
>
>
> +static void
> +qemudReturnPort(struct qemud_driver *driver,
> + int port)
As part of the qemu refactoring, we've been doing s/qemud/qemu/ for
internal function names.
ACK with that change.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101222/8a9d2b7d/attachment-0001.sig>
More information about the libvir-list
mailing list