]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nodedev: refactor tests to support mdev undefine
authorJonathon Jongsma <jjongsma@redhat.com>
Fri, 13 Nov 2020 16:45:33 +0000 (10:45 -0600)
committerJonathon Jongsma <jjongsma@redhat.com>
Wed, 7 Apr 2021 20:11:17 +0000 (15:11 -0500)
commitf98c415f8a9c6f8073f2193e831f3397d57970d0
tree23f1a4ec04f01686f5f8a67f50e39286c72d73d7
parent725dfb6c36805fd836170a2fc2e7648e9f12b177
nodedev: refactor tests to support mdev undefine

mdevctl 'stop' and 'undefine' commands take the same uuid parameter, so
refactor the test infrastructure to share common implementation for both
of these commands. The 'undefine' command will be introduced in a
following patch.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
tests/nodedevmdevctltest.c