mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
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:
parent
7a2b898895
commit
a920a17717
8
tests/nodedevschemadata/ap_card07.xml
Normal file
8
tests/nodedevschemadata/ap_card07.xml
Normal 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>
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user