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

Michal Privoznik mprivozn at redhat.com
Tue Oct 3 10:58:56 UTC 2017


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




More information about the libvir-list mailing list