]> git.proxmox.com Git - mirror_qemu.git/commit
vmgenid: use UUID property type
authorRoman Kagan <rkagan@virtuozzo.com>
Mon, 27 Nov 2017 13:05:18 +0000 (16:05 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 5 Dec 2017 17:13:45 +0000 (19:13 +0200)
commit939dd2d350b966016f2a1fa126242c094e71cd82
tree50f9bc7e177c683c966ea31e4634c97287fe3ee3
parent87e6ed5670771b558d733fd21ed8e1e4da0e368a
vmgenid: use UUID property type

Switch vmgenid device to use the UUID property type introduced in the
previous patch for its 'guid' property.

One semantic change it introduces is that post-realize modification of
'guid' via HMP or QMP will now be rejected with an error; however,
according to docs/specs/vmgenid.txt this is actually desirable.

Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Ben Warren <ben@skyportsystems.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/vmgenid.c