]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nodedev: support auto-start property for mdevs
authorBoris Fiuczynski <fiuczy@linux.ibm.com>
Fri, 14 May 2021 21:28:59 +0000 (16:28 -0500)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 20 May 2021 09:10:08 +0000 (11:10 +0200)
commit42a558549935336cbdb7cbfe8b239ffb0e3442e3
tree21724a18132f3c5b465c4793de9694dd8eaef32c
parent86ecc06c068fadb3c681a502b82cbcb8a334f194
nodedev: support auto-start property for mdevs

This adds a new element to the mdev capabilities xml schema that
represents the start policy for a defined mediated device. The actual
auto-start functionality is handled behind the scenes by mdevctl, but it
wasn't yet hooked up in libvirt.

Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
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 symlink to file mode: 0644]
tests/nodedevxml2xmlout/mdev_ee0b88c4_f554_4dc1_809d_b2a01e8e48ad.xml [changed from symlink to file mode: 0644]