Re: [libvirt] [PATCH 1/4] qemu: Add a new domain lookup helper and improve the docs

2012-12-11 Thread Eric Blake
On 12/11/2012 11:48 AM, Peter Krempa wrote: > This patch adds a new domain lookup helper qemuDomObjFromDomainDriver > that lookups the domain and leaves the driver locked. The driver is > returned as the second argument of that function. If the lookup fails > the driver is unlocked to help avoid cl

[libvirt] [PATCH 1/4] qemu: Add a new domain lookup helper and improve the docs

2012-12-11 Thread Peter Krempa
This patch adds a new domain lookup helper qemuDomObjFromDomainDriver that lookups the domain and leaves the driver locked. The driver is returned as the second argument of that function. If the lookup fails the driver is unlocked to help avoid cleanup codepaths. This patch also improves docs for