]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: Add a new domain lookup helper and improve the docs
authorPeter Krempa <pkrempa@redhat.com>
Tue, 11 Dec 2012 18:20:53 +0000 (19:20 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 12 Dec 2012 13:34:12 +0000 (14:34 +0100)
commit7fc06b0480a376314cc472913c81e05317a5694d
treebd0d702819e554b6805660916661e3487430fde1
parentab8d323319cf698b54a218ca1a0f6d1f40792c6a
qemu: Add a new domain lookup helper and improve the docs

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 the helpers.
src/qemu/qemu_driver.c