Re: [libvirt] [PATCH 08/17] conf: give each hostdevdef a parent pointer

2012-03-02 Thread Eric Blake
On 02/28/2012 01:14 PM, Laine Stump wrote: The parent can be any type of device. It defaults to type=none, and a NULL pointer. The intent is that if a hostdevdef is contained in the def for a higher level device (e.g. virDomainNetDef), hostdev-parent will point to the higher level device, and

[libvirt] [PATCH 08/17] conf: give each hostdevdef a parent pointer

2012-02-28 Thread Laine Stump
The parent can be any type of device. It defaults to type=none, and a NULL pointer. The intent is that if a hostdevdef is contained in the def for a higher level device (e.g. virDomainNetDef), hostdev-parent will point to the higher level device, and type will be set to that type of device. This