[libvirt] [PATCH v3 04/15] conf: Introduce new hostdev device type mdev

Pavel Hrdina phrdina at redhat.com
Wed Mar 22 14:23:58 UTC 2017


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.

>  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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170322/7743130b/attachment-0001.sig>


More information about the libvir-list mailing list