Re: [PATCH] qemu: Return SPICE ports on domain shutdown

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

 



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@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]