[libvirt] [PATCH v2 0/3] Allow users to define UUID for devices

Michal Privoznik posted 3 patches 6 years, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1507028214.git.mprivozn@redhat.com
docs/formatdomain.html.in                          |  21 +++
docs/schemas/domaincommon.rng                      |  21 ++-
src/conf/device_conf.c                             |   1 +
src/conf/device_conf.h                             |   1 +
src/conf/domain_conf.c                             | 201 ++++++++++++---------
tests/genericxml2xmlindata/generic-device-uuid.xml |  31 ++++
tests/genericxml2xmltest.c                         |   1 +
7 files changed, 189 insertions(+), 88 deletions(-)
create mode 100644 tests/genericxml2xmlindata/generic-device-uuid.xml
[libvirt] [PATCH v2 0/3] Allow users to define UUID for devices
Posted by Michal Privoznik 6 years, 5 months ago
v2 of:

https://www.redhat.com/archives/libvir-list/2017-September/msg01077.html

diff to v1:
- Switched from arbitrary string to UUID
- Moved UUID to separate element
- Added docs

Michal Privoznik (3):
  virDomainDeviceInfoParseXML: Separate address parsing into separate
    func
  virDomainDeviceInfoParseXML: Clear whole @info on failure
  conf: Allow users to define UUID for devices

 docs/formatdomain.html.in                          |  21 +++
 docs/schemas/domaincommon.rng                      |  21 ++-
 src/conf/device_conf.c                             |   1 +
 src/conf/device_conf.h                             |   1 +
 src/conf/domain_conf.c                             | 201 ++++++++++++---------
 tests/genericxml2xmlindata/generic-device-uuid.xml |  31 ++++
 tests/genericxml2xmltest.c                         |   1 +
 7 files changed, 189 insertions(+), 88 deletions(-)
 create mode 100644 tests/genericxml2xmlindata/generic-device-uuid.xml

-- 
2.13.5

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list