[libvirt] [PATCH 5/5] interface: clean up virInterfaceDefDevFormat

2014-06-19 Thread Laine Stump
This modifies the formatting function of virInterface to be a proper mirror of the parse function, including the addition of a parentIfType arg so that we can decide whether or not it is appropriate to emit the elements that are only in toplevel interfaces, as well as the link element (which isn't

Re: [libvirt] [PATCH 5/5] interface: clean up virInterfaceDefDevFormat

2014-06-19 Thread Eric Blake
On 06/19/2014 04:48 AM, Laine Stump wrote: This modifies the formatting function of virInterface to be a proper mirror of the parse function, including the addition of a parentIfType arg so that we can decide whether or not it is appropriate to emit the elements that are only in toplevel