Re: [PATCH v2 2/3] qemu: Omit SPICE address if no port is specified

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

 



On Wed, Mar 16, 2016 at 05:45:04PM +0100, Christophe Fergeau wrote:
> Currently -spice addr=127.0.0.1 is generated, but spice-server is going
> to ignore this as no port is specified.
> ---
>  src/qemu/qemu_command.c                            | 60 +++++++++++-----------
>  .../qemuxml2argv-controller-order.args             |  2 +-
>  2 files changed, 32 insertions(+), 30 deletions(-)
> 

ACK

> -            goto error;
> +        if (!listenAddr)
> +            listenAddr = cfg->spiceListen;
> +        if (listenAddr) {
> +            virBufferAsprintf(&opt, "addr=%s,", listenAddr);
> +        }
>  

This also fails syntax check.

Jan

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