mirror of https://gitee.com/openkylin/libvirt.git
tests: AP matrix node device
Add tests to verify libvirt node device driver support for AP matrix device. 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
2f984adf2d
commit
dc3bc76c1c
|
@ -0,0 +1,7 @@
|
|||
<device>
|
||||
<name>ap_matrix</name>
|
||||
<path>/sys/devices/vfio_ap/matrix</path>
|
||||
<parent>computer</parent>
|
||||
<capability type='ap_matrix'>
|
||||
</capability>
|
||||
</device>
|
|
@ -0,0 +1,9 @@
|
|||
<device>
|
||||
<name>mdev_ee0b88c4-f554-4dc1-809d-b2a01e8e48ad</name>
|
||||
<path>/sys/devices/vfio_ap/matrix/mdev_ee0b88c4-f554-4dc1-809d-b2a01e8e48ad</path>
|
||||
<parent>ap_matrix</parent>
|
||||
<capability type='mdev'>
|
||||
<type id='vfio_ap-passthrough'/>
|
||||
<iommuGroup number='0'/>
|
||||
</capability>
|
||||
</device>
|
|
@ -127,6 +127,8 @@ mymain(void)
|
|||
DO_TEST("css_0_0_fffe_mdev_types");
|
||||
DO_TEST("ap_card07");
|
||||
DO_TEST("ap_07_0038");
|
||||
DO_TEST("ap_matrix");
|
||||
DO_TEST("mdev_ee0b88c4_f554_4dc1_809d_b2a01e8e48ad");
|
||||
|
||||
return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue