]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Add createVHBAByStoragePool-by-parent to fchosttest
authorJohn Ferlan <jferlan@redhat.com>
Sun, 29 Jan 2017 16:12:48 +0000 (11:12 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 10 Mar 2017 19:57:38 +0000 (14:57 -0500)
commit0623945c401c04e53d2e26557774ff279a7f65e1
tree16275e6d8df8418003c308a02a09f3fa61ca465c
parente915942b05d3c97b9b2b412b0cce43045a5628d1
tests: Add createVHBAByStoragePool-by-parent to fchosttest

Add a new test to fchosttest in order to test creation of our vHBA
via the Storage Pool logic.  Unlike the real code, we cannot yet use
the virVHBA* API's because they (currently) traverse the file system
in order to get the parent vport capable scsi_host. Besides there's
no "real" NPIV device here - so we have to take some liberties, at
least for now.

Instead, we'll follow the node device tests partially in order to
create and destroy the vHBA with the test node devices.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/test/test_driver.c
tests/fchosttest.c