tests: AP queue node device

Add tests to verify libvirt node device driver support for AP queues

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:36 +01:00 committed by Erik Skultety
parent 0415611fe0
commit 4d7fd6f09e
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,9 @@
<device>
<name>ap_07_0038</name>
<path>/sys/devices/ap/card07/07.0038</path>
<parent>ap_card07</parent>
<capability type='ap_queue'>
<ap-adapter>0x07</ap-adapter>
<ap-domain>0x0038</ap-domain>
</capability>
</device>

View File

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