]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virpcitest: Test virPCIDeviceDetach
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 23 Oct 2013 15:55:02 +0000 (16:55 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 4 Nov 2013 16:28:48 +0000 (17:28 +0100)
commit25527ae25ceb0b5aa6217884e1a6d91260c47604
tree900896e4f399f336de4ec8871857daa39d8ee207
parentd770618842bb5727394ada7ce4e2c502044a88fe
virpcitest: Test virPCIDeviceDetach

This commit introduces yet another test under virpcitest:
virPCIDeviceDetach. However, in order to be able to do this, the
virpcimock needs to be extended to model the kernel behavior on PCI
device binding and unbinding (create 'driver' symlinks under the device
tree, check for device ID in driver's ID table, etc.)

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
cfg.mk
tests/Makefile.am
tests/virpcimock.c
tests/virpcitest.c