tests: AP card node device

Add tests to verify libvirt node device driver support for AP card
device.

Signed-off-by: Farhan Ali <alifm@linux.ibm.com>
Signed-off-by: Shalini Chellathurai Saroja <shalini@linux.ibm.com>
Reviewed-by: Bjoern Walk <bwalk@linux.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
Shalini Chellathurai Saroja 2020-12-03 18:59:34 +01:00 committed by Erik Skultety
parent 7a2b898895
commit a920a17717
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,8 @@
<device>
<name>ap_card07</name>
<path>/sys/devices/ap/card07</path>
<parent>computer</parent>
<capability type='ap_card'>
<ap-adapter>0x07</ap-adapter>
</capability>
</device>

View File

@ -125,6 +125,7 @@ mymain(void)
DO_TEST("ccw_0_0_ffff"); DO_TEST("ccw_0_0_ffff");
DO_TEST("css_0_0_ffff"); DO_TEST("css_0_0_ffff");
DO_TEST("css_0_0_fffe_mdev_types"); DO_TEST("css_0_0_fffe_mdev_types");
DO_TEST("ap_card07");
return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE; return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
} }