mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
582f27ff15
Implement the API functions in the node device driver by using mdevctl modify with the options defined and live. Instead of increasing the minimum mdevctl version to 1.3.0 in the spec file to ensure support exists in mdevctl the support is dynamically checked before using mdevctl. Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
17 lines
531 B
XML
17 lines
531 B
XML
<device>
|
|
<name>mdev_c60cc60c_c60c_c60c_c60c_c60cc60cc60c_0_0_0052</name>
|
|
<path>/sys/devices/css0/0.0.0052/c60cc60c-c60c-c60c-c60c-c60cc60cc60c</path>
|
|
<parent>css_0_0_0052</parent>
|
|
<driver>
|
|
<name>vfio_ccw_mdev</name>
|
|
</driver>
|
|
<capability type='mdev'>
|
|
<type id='vfio_ccw-io'/>
|
|
<uuid>c60cc60c-c60c-c60c-c60c-c60cc60cc60c</uuid>
|
|
<parent_addr>0.0.0052</parent_addr>
|
|
<attr name='add_attr_1' value='val1'/>
|
|
<attr name='add_attr_2' value='val2'/>
|
|
<iommuGroup number='4'/>
|
|
</capability>
|
|
</device>
|