mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
70f53b1c04
We supported autostart of node devices via an xml element, but this is not consistent with other libvirt objects which use an explicit API for setting autostart status. So revert this and implement it as an official API in a future commit. The initial support was refactored after merging, so this commit reverts both of those previous commits. Revert "virNodeDevCapMdevParseXML: Use virXMLPropEnum() for ./start/@type" This reverts commit9d4cd1d1cd
. Revert "nodedev: support auto-start property for mdevs" This reverts commit42a5585499
. Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
11 lines
346 B
XML
11 lines
346 B
XML
<device>
|
|
<name>mdev_d2441d39_495e_4243_ad9f_beb3f14c23d9</name>
|
|
<parent>pci_0000_00_02_0</parent>
|
|
<capability type='mdev'>
|
|
<type id='i915-GVTg_V5_8'/>
|
|
<iommuGroup number='0'/>
|
|
<attr name='example-attribute-1' value='attribute-value-1'/>
|
|
<attr name='example-attribute-2' value='attribute-value-2'/>
|
|
</capability>
|
|
</device>
|