]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nodedev: add support for mdev attributes
authorJonathon Jongsma <jjongsma@redhat.com>
Thu, 18 Jun 2020 21:05:56 +0000 (16:05 -0500)
committerErik Skultety <eskultet@redhat.com>
Fri, 19 Jun 2020 08:39:54 +0000 (10:39 +0200)
commitc952d9cc1e999e7a87b7accce141a808631226de
tree7340e5ce2a7719a0d46eb7c19606fe52e1d951fd
parent37ab63a6fc74ba3e14e1c321313b4288fd6e44aa
nodedev: add support for mdev attributes

Mediated devices support arbitrary vendor-specific attributes that can
be attached to a mediated device. These attributes are ordered, and are
written to sysfs in order after a device is created. This patch adds
support for these attributes to the mdev data types and XML schema.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Erik Skultety <eskultet@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/util/virmdev.c
src/util/virmdev.h