[PATCH 00/10] Add support for VM Generation ID (vmgenid)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As a result of the RFC:

https://www.redhat.com/archives/libvir-list/2018-March/msg01214.html

Patches to support changes for

https://bugzilla.redhat.com/show_bug.cgi?id=1149445

The first patch isn't necessarily related, but since it I was looking
at the all the virUUIDGenerate calls, I figured I'd include it here.
It can be consider separately.

I did leave in the possibility that someone can supply a GUID in the
XML; however, that can be removed - requiring that just the <genid/>
exists and forcing every usage to generate the GUID. The spec isn't
100% clear on whether that's a valid use. One area which I'm still a
little bit fuzzy on is the snapshot functionality. The transitions
while running won't work unless/until the qemu command to set the
genid GUID value are accepted. It'd be tough to fail, but according
to how I've read the spec it'd be required to change the GUID value
and since we cannot do so, failure is the only option.

John Ferlan (10):
  Check return status for virUUIDGenerate
  conf: Modify last arg to virDomainDefCopy
  qemu: Add flags to qemuDomainMigratableDefCheckABIStability
  conf: Add VM Generation ID to virDomainDef
  conf: Add flag to regenerate genid for virDomainDefCopy
  conf: Add VM Generation ID parse/format support
  qemu: Add VM Generation ID device capability
  qemu: Handle genid processing during startup/launch
  qemu: Add VM Generation ID to qemu command line
  docs: Add news article for VM Generation ID

 docs/formatdomain.html.in                         |  29 ++++++
 docs/news.xml                                     |  12 +++
 docs/schemas/domaincommon.rng                     |   8 ++
 src/conf/domain_conf.c                            |  81 +++++++++++++++-
 src/conf/domain_conf.h                            |  19 +++-
 src/conf/network_conf.c                           |   2 +-
 src/conf/secret_conf.c                            |   2 +-
 src/libxl/libxl_domain.c                          |   4 +-
 src/openvz/openvz_conf.c                          |   2 +-
 src/qemu/qemu_capabilities.c                      |   2 +
 src/qemu/qemu_capabilities.h                      |   1 +
 src/qemu/qemu_command.c                           |  31 ++++++
 src/qemu/qemu_domain.c                            |  23 +++--
 src/qemu/qemu_domain.h                            |   6 +-
 src/qemu/qemu_driver.c                            |  31 ++++--
 src/qemu/qemu_migration.c                         |   4 +-
 src/qemu/qemu_process.c                           | 110 +++++++++++++++++++++-
 src/qemu/qemu_process.h                           |   1 +
 src/test/test_driver.c                            |   6 +-
 src/xenconfig/xen_common.c                        |   2 +-
 tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml |   1 +
 tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml |   1 +
 tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml  |   1 +
 tests/qemuxml2argvdata/genid-auto.args            |  21 +++++
 tests/qemuxml2argvdata/genid-auto.xml             |  32 +++++++
 tests/qemuxml2argvdata/genid.args                 |  21 +++++
 tests/qemuxml2argvdata/genid.xml                  |  32 +++++++
 tests/qemuxml2argvtest.c                          |   4 +
 tests/qemuxml2xmloutdata/genid-active.xml         |  32 +++++++
 tests/qemuxml2xmloutdata/genid-auto-active.xml    |  32 +++++++
 tests/qemuxml2xmloutdata/genid-auto-inactive.xml  |  32 +++++++
 tests/qemuxml2xmloutdata/genid-inactive.xml       |  32 +++++++
 tests/qemuxml2xmltest.c                           |   5 +-
 33 files changed, 585 insertions(+), 37 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/genid-auto.args
 create mode 100644 tests/qemuxml2argvdata/genid-auto.xml
 create mode 100644 tests/qemuxml2argvdata/genid.args
 create mode 100644 tests/qemuxml2argvdata/genid.xml
 create mode 100644 tests/qemuxml2xmloutdata/genid-active.xml
 create mode 100644 tests/qemuxml2xmloutdata/genid-auto-active.xml
 create mode 100644 tests/qemuxml2xmloutdata/genid-auto-inactive.xml
 create mode 100644 tests/qemuxml2xmloutdata/genid-inactive.xml

-- 
2.13.6

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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux