]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Pass action to virDomainDefCompatibleDevice
authorJiri Denemark <jdenemar@redhat.com>
Thu, 20 Mar 2014 12:39:20 +0000 (13:39 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 20 Mar 2014 21:42:29 +0000 (22:42 +0100)
commit1c13166134bd2dd1fc5711e421ac5f983bece6a6
tree1258c63d40432cb2eca8746c1c5b4745ff5881a9
parent6dc75f565418a169d6b86e059bcce3d0082c8e3e
Pass action to virDomainDefCompatibleDevice

When checking compatibility of a device with a domain definition, we
should know what we're going to do with the device. Because we may need
to check for different things when we're attaching a new device versus
detaching an existing device.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/lxc/lxc_driver.c
src/qemu/qemu_driver.c