]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Add VM Generation ID to qemu command line
authorJohn Ferlan <jferlan@redhat.com>
Tue, 20 Mar 2018 22:29:46 +0000 (18:29 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 25 May 2018 12:15:58 +0000 (08:15 -0400)
commit87973a45f97dcbf0c515d9104e068094a09c74b5
treed8d66a38840d73bf88ba246cb0c154dd2106502a
parentc445abb52d3d7ab7869a4ba2b2c35e8e59c3a4f7
qemu: Add VM Generation ID to qemu command line

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

If the domain requests usage of the genid functionality,
then add the QEMU '-device vmgenid' to the command line
providing either the supplied or generated GUID value.

Add tests for both a generated and supplied GUID value.

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/genid-auto.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvdata/genid.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvtest.c