summary refs log tree commit diff stats
path: root/scripts/qapi.py
diff options
context:
space:
mode:
authorRoman Kagan <rkagan@virtuozzo.com>2017-11-27 16:05:17 +0300
committerMichael S. Tsirkin <mst@redhat.com>2017-12-05 19:13:45 +0200
commit87e6ed5670771b558d733fd21ed8e1e4da0e368a (patch)
tree0d5020eff4dd7d374d9dcba1664f211e94ad1770 /scripts/qapi.py
parent2d6dcbf93fb01b4a7f45a93d276d4d74b16392dd (diff)
downloadfocaccia-qemu-87e6ed5670771b558d733fd21ed8e1e4da0e368a.tar.gz
focaccia-qemu-87e6ed5670771b558d733fd21ed8e1e4da0e368a.zip
qdev-properties: add UUID property type
UUIDs (GUIDs) are widely used in VMBus-related stuff, so a dedicated
property type becomes helpful.

The property accepts a string-formatted UUID or a special keyword "auto"
meaning a randomly generated UUID; the latter is also the default when
the property is not given a value explicitly.

Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions