Re: [libvirt] [PATCH 2/4] conf: introduce new family attribute in graphics listen for chose IP family

2015-02-25 Thread Luyao Huang
On 02/25/2015 03:03 AM, Laine Stump wrote: On 02/24/2015 01:48 PM, John Ferlan wrote: On 02/24/2015 01:09 PM, Laine Stump wrote: On 02/24/2015 12:42 PM, John Ferlan wrote: ...snip... I see family as a tristate value. That is not provided is 0 and not printed... Thus, the value turns into

Re: [libvirt] [PATCH 2/4] conf: introduce new family attribute in graphics listen for chose IP family

2015-02-24 Thread John Ferlan
On 02/24/2015 01:09 PM, Laine Stump wrote: On 02/24/2015 12:42 PM, John Ferlan wrote: ...snip... I see family as a tristate value. That is not provided is 0 and not printed... Thus, the value turns into tristate where of ipv6='yes|no', where the default is no. There is precedent in

Re: [libvirt] [PATCH 2/4] conf: introduce new family attribute in graphics listen for chose IP family

2015-02-24 Thread John Ferlan
On 02/13/2015 02:17 AM, Luyao Huang wrote: If a interface or network have both ipv6 and ipv4 address which can be used, we do not know use which be a listen address. So introduce a new attribute to help us chose this. graphics XML will like this after this commit: graphics

Re: [libvirt] [PATCH 2/4] conf: introduce new family attribute in graphics listen for chose IP family

2015-02-24 Thread Laine Stump
On 02/24/2015 01:48 PM, John Ferlan wrote: On 02/24/2015 01:09 PM, Laine Stump wrote: On 02/24/2015 12:42 PM, John Ferlan wrote: ...snip... I see family as a tristate value. That is not provided is 0 and not printed... Thus, the value turns into tristate where of ipv6='yes|no', where the

[libvirt] [PATCH 2/4] conf: introduce new family attribute in graphics listen for chose IP family

2015-02-12 Thread Luyao Huang
If a interface or network have both ipv6 and ipv4 address which can be used, we do not know use which be a listen address. So introduce a new attribute to help us chose this. graphics XML will like this after this commit: graphics type='spice' port='5900' autoport='yes' listen