]> xenbits.xensource.com Git - libvirt.git/commit
drivers: Implement virListAllDomains for drivers using virDomainObj
authorPeter Krempa <pkrempa@redhat.com>
Mon, 11 Jun 2012 09:04:57 +0000 (11:04 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 20 Jun 2012 11:35:26 +0000 (13:35 +0200)
commit33dc8cf018e41c0e973a4a46a108d5ff30cbbf49
treedd42c41231145a6cfe755afdbe5dfd8e38e5d89c
parent229773fcbd9a06950224600c97350c0d4e8e8701
drivers: Implement virListAllDomains for drivers using virDomainObj

This patch adds support for listing all domains into drivers that use
the common virDomainObj implementation: libxl, lxc, openvz, qemu, test,
uml, vmware.

For drivers that don't support managed save images the guests are
treated as if they had none, so filtering guests that do have such an
image on this driver succeeds and produces 0 results.
src/libxl/libxl_driver.c
src/lxc/lxc_driver.c
src/openvz/openvz_driver.c
src/qemu/qemu_driver.c
src/test/test_driver.c
src/uml/uml_driver.c
src/vmware/vmware_driver.c