Re: [libvirt] [PATCH 1/2] Introduce virDomainDeviceIterate

2019-05-22 Thread Andrea Bolognani
On Tue, 2019-05-21 at 16:25 +0200, Ján Tomko wrote: [...] > @@ -5793,10 +5806,9 @@ virDomainDefPostParse(virDomainDefPtr def, > } > > /* iterate the devices */ > -ret = virDomainDeviceInfoIterateInternal(def, > - > virDomainDefPostParseDe

[libvirt] [PATCH 1/2] Introduce virDomainDeviceIterate

2019-05-21 Thread Ján Tomko
A counterpart to virDomainDeviceInfoIterate that will iterate over all devices, not just those with an info. Use it in places where we intend to process all devices with callbacks that do not depend on DeviceInfo being present: * virDomainDefPostParse * virDomainDefValidate Signed-off-by: Ján Tom