Re: [libvirt] [PATCH 08/15] util: Reduce complexity of virVHBAGetParent

2017-02-17 Thread Pavel Hrdina
On Wed, Jan 25, 2017 at 03:27:34PM -0500, John Ferlan wrote: > Rather that getting the XML, parsing it, and grabbing the parent name > field, just call the virNodeDeviceGetParent which is far more efficient. ACK, this is unrelated to this series so you can push it as a fix for the code in

[libvirt] [PATCH 08/15] util: Reduce complexity of virVHBAGetParent

2017-01-25 Thread John Ferlan
Rather that getting the XML, parsing it, and grabbing the parent name field, just call the virNodeDeviceGetParent which is far more efficient. Signed-off-by: John Ferlan --- src/util/virvhba.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git