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 in

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

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 p

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 12:42 PM, John Ferlan wrote: > > 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 l

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: > > >fa

[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: and this ip family can be set 3 type: default: check if