[libvirt] [PATCH v3 04/15] conf: Introduce new hostdev device type mdev
Erik Skultety
eskultet at redhat.com
Wed Mar 22 14:45:26 UTC 2017
On Wed, Mar 22, 2017 at 03:23:58PM +0100, Pavel Hrdina wrote:
> On Thu, Mar 16, 2017 at 01:21:08PM +0100, Erik Skultety wrote:
> > A mediated device will be identified by a UUID (with 'model' now being
> > a mandatory <hostdev> attribute to represent the mediated device API) of
> > the user pre-created mediated device. The data necessary to identify a
> > mediated device can be easily extended in the future, e.g. when
> > auto-creation of mediated devices should be enabled.
> > Additionally, this patch introduces a new virmdev module under src/util.
> >
> > Signed-off-by: Erik Skultety <eskultet at redhat.com>
> > ---
> > docs/schemas/domaincommon.rng | 22 ++
> > po/POTFILES.in | 1 +
> > src/Makefile.am | 1 +
> > src/conf/domain_conf.c | 82 +++++-
> > src/conf/domain_conf.h | 9 +
> > src/libvirt_private.syms | 22 ++
> > src/qemu/qemu_domain.c | 1 +
> > src/qemu/qemu_hotplug.c | 2 +
> > src/security/security_apparmor.c | 3 +
> > src/security/security_dac.c | 2 +
> > src/security/security_selinux.c | 2 +
> > src/util/virmdev.c | 487 ++++++++++++++++++++++++++++++++++++
> > src/util/virmdev.h | 123 +++++++++
>
> Introducing virmdev would be better as a separate patch before this one.
Sigh...I don't know how and why I squashed it into this one.
Erik
>
> > tests/domaincapsschemadata/full.xml | 1 +
> > 14 files changed, 757 insertions(+), 1 deletion(-)
> > create mode 100644 src/util/virmdev.c
> > create mode 100644 src/util/virmdev.h
>
> Pavel
More information about the libvir-list
mailing list