UUIDs (GUIDs) are widely used in VMBus-related stuff, so a dedicated property type becomes helpful.
In the existing code, vmgenid can immediately profit from it. Roman Kagan (2): qdev-properties: add UUID property type vmgenid: use UUID property type v1 -> v2: - make the property default to autogeneration if not specified explicitly - use the corresponding define for "guid" field name include/hw/qdev-properties.h | 9 +++++++ hw/acpi/vmgenid.c | 30 ++++++---------------- hw/core/qdev-properties.c | 61 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 78 insertions(+), 22 deletions(-) -- 2.14.3