]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Fix usage of virDomainDefCompatibleDevice
authorJiri Denemark <jdenemar@redhat.com>
Thu, 20 Mar 2014 12:04:06 +0000 (13:04 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 20 Mar 2014 21:42:26 +0000 (22:42 +0100)
commit6dc75f565418a169d6b86e059bcce3d0082c8e3e
treef86ee32489e0bc81823322759dfc78d243da1d70
parentcfa7ceab7735410c0427136236bf8bad10670816
Fix usage of virDomainDefCompatibleDevice

A device needs to be checked for compatibility with the domain
definition it corresponds to. Specifically, for VIR_DOMAIN_AFFECT_CONFIG
case we should check against persistent def rather than active def.

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