]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: introduce hardware UUID (hwuuid) element
authorMark Cave-Ayland <mark.caveayland@nutanix.com>
Fri, 18 Jul 2025 08:44:38 +0000 (09:44 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 1 Aug 2025 17:26:27 +0000 (18:26 +0100)
commit5d2235ff45103f75a650313a7e7824f105cb8397
tree86edb1106617c2b82dbdbde99645b98063d1ce9a
parentcd71d5a46ed484a4091f8932906ceffe1b9b9676
conf: introduce hardware UUID (hwuuid) element

The hardware UUID (hwuuid) element provides a mechanism to supply an external
UUID to the guest, as opposed to the libvirt domain UUID. This is to allow
for the scenario whereby a domain can be stopped, cloned and then started as
a new domain without altering the guest-visible UUID.

Add the element, documentation and core code for the hwuuid feature along
with an implementation for the QEMU driver.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
docs/formatdomain.rst
src/conf/domain_conf.c
src/conf/domain_conf.h
src/conf/schemas/domaincommon.rng
src/qemu/qemu_command.c