[Kimchi-devel] [PATCH] issue #492: Expressly set autoport to yes in vm graphics.

Daniel Henrique Barboza danielhb at linux.vnet.ibm.com
Thu Dec 4 16:49:18 UTC 2014


Reviewed-by: Daniel Barboza <danielhb at linux.vnet.ibm.com>

On 12/03/2014 05:00 PM, Aline Manera wrote:
> From: Alan Jenkins <alan.james.jenkins at gmail.com>
>
> Signed-off-by: Alan Jenkins <alan.james.jenkins at gmail.com>
> Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
> ---
>   src/kimchi/xmlutils/graphics.py | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/kimchi/xmlutils/graphics.py b/src/kimchi/xmlutils/graphics.py
> index 4c69cd9..53cba09 100644
> --- a/src/kimchi/xmlutils/graphics.py
> +++ b/src/kimchi/xmlutils/graphics.py
> @@ -32,7 +32,8 @@ def get_graphics_xml(params):
>         <target type='virtio' name='com.redhat.spice.0'/>
>       </channel>
>       """
> -    graphics = E.graphics(type=params['type'], listen=params['listen'])
> +    graphics = E.graphics(type=params['type'], autoport='yes',
> +                          listen=params['listen'])
>       graphics_xml = ET.tostring(graphics, encoding='utf-8', pretty_print=True)
>
>       if params['type'] == 'vnc':




More information about the Kimchi-devel mailing list