]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nodedev: Revert auto-start property for mdevs v7.4.0-rc2
authorJonathon Jongsma <jjongsma@redhat.com>
Wed, 26 May 2021 15:40:26 +0000 (10:40 -0500)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 27 May 2021 13:38:28 +0000 (15:38 +0200)
commit70f53b1c04cfed8529c87c7be8ca4c76d1123a30
tree391ee37c4b76b07631a0150f23d7281eb8db25dd
parent3e0f552daba4b038152f7e7847ae5eb64a51cede
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 commit 9d4cd1d1cda84aa15b77a506f2ad6362a74edf1a.

Revert "nodedev: support auto-start property for mdevs"
This reverts commit 42a558549935336cbdb7cbfe8b239ffb0e3442e3.

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>
12 files changed:
docs/formatnode.html.in
docs/schemas/nodedev.rng
src/conf/node_device_conf.c
src/conf/node_device_conf.h
src/libvirt_private.syms
src/node_device/node_device_driver.c
tests/nodedevmdevctldata/mdevctl-list-multiple.out.xml
tests/nodedevxml2xmlout/mdev_3627463d_b7f0_4fea_b468_f1da537d301b.xml [changed from file to symlink]
tests/nodedevxml2xmlout/mdev_d069d019_36ea_4111_8f0a_8c9a70e21366.xml
tests/nodedevxml2xmlout/mdev_d2441d39_495e_4243_ad9f_beb3f14c23d9.xml
tests/nodedevxml2xmlout/mdev_ee0b88c4_f554_4dc1_809d_b2a01e8e48ad.xml [changed from file to symlink]
tests/nodedevxml2xmlout/mdev_fedc4916_1ca8_49ac_b176_871d16c13076.xml