mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
nodedev: Revert auto-start property for mdevs
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>
This commit is contained in:
committed by
Michal Privoznik
parent
3e0f552dab
commit
70f53b1c04
@@ -1,9 +0,0 @@
|
||||
<device>
|
||||
<name>mdev_3627463d_b7f0_4fea_b468_f1da537d301b</name>
|
||||
<parent>computer</parent>
|
||||
<capability type='mdev'>
|
||||
<type id='mtty-1'/>
|
||||
<start type='manual'/>
|
||||
<iommuGroup number='12'/>
|
||||
</capability>
|
||||
</device>
|
||||
@@ -0,0 +1 @@
|
||||
../nodedevschemadata/mdev_3627463d_b7f0_4fea_b468_f1da537d301b.xml
|
||||
@@ -4,7 +4,6 @@
|
||||
<capability type='mdev'>
|
||||
<type id='i915-GVTg_V5_8'/>
|
||||
<uuid>d069d019-36ea-4111-8f0a-8c9a70e21366</uuid>
|
||||
<start type='manual'/>
|
||||
<iommuGroup number='0'/>
|
||||
</capability>
|
||||
</device>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
<parent>pci_0000_00_02_0</parent>
|
||||
<capability type='mdev'>
|
||||
<type id='i915-GVTg_V5_8'/>
|
||||
<start type='manual'/>
|
||||
<iommuGroup number='0'/>
|
||||
<attr name='example-attribute-1' value='attribute-value-1'/>
|
||||
<attr name='example-attribute-2' value='attribute-value-2'/>
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
<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'/>
|
||||
<start type='manual'/>
|
||||
<iommuGroup number='0'/>
|
||||
</capability>
|
||||
</device>
|
||||
@@ -0,0 +1 @@
|
||||
../nodedevschemadata/mdev_ee0b88c4_f554_4dc1_809d_b2a01e8e48ad.xml
|
||||
@@ -3,7 +3,6 @@
|
||||
<parent>pci_0000_00_02_0</parent>
|
||||
<capability type='mdev'>
|
||||
<type id='i915-GVTg_V5_8'/>
|
||||
<start type='manual'/>
|
||||
<iommuGroup number='0'/>
|
||||
<attr name='example-attribute' value='attribute-value'/>
|
||||
</capability>
|
||||
|
||||
Reference in New Issue
Block a user