[libvirt] [PATCH 2/4] Add a <graphics> type for SPICE protocol

Dan Kenigsberg danken at redhat.com
Sun Oct 25 15:15:26 UTC 2009


Just stumpbled on another issue:

On Tue, Sep 29, 2009 at 04:43:50PM +0100, Daniel P. Berrange wrote:
> @@ -366,6 +367,13 @@ struct _virDomainGraphicsDef {
>              char *display;
>              int fullscreen : 1;
>          } desktop;
> +        struct {
> +            int port;
> +            int tlsPort;
> +            char *listenAddr;
> +            char *keymap;
> +            char *passwd;
> +        } spice;
>      } data;
>  };

just like vnc, spice needs autoport here (as well as in the schema).

I wanted to ignore that, however, migration is impossibly unreliable
without autoport=yes - the destination may have the port binded to
something else.

BTW, and for the sake of the archives, <interface type='bridge'> with
named <target dev= > is as problematic as specifying ports.

Dan.




More information about the libvir-list mailing list