summary refs log tree commit diff stats
path: root/util/mmap-alloc.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2020-10-09 16:07:01 -0400
committerEduardo Habkost <ehabkost@redhat.com>2021-07-06 18:04:38 -0400
commit80cc1a0dd19cc414ddaa3f1b9b6ef91e3ebc12b2 (patch)
treedf5ca268b39d1d95cb23705a0bcb5961f9aa1d10 /util/mmap-alloc.c
parent9aef0954195cc592e86846dbbe7f3c2c5603690a (diff)
downloadfocaccia-qemu-80cc1a0dd19cc414ddaa3f1b9b6ef91e3ebc12b2.tar.gz
focaccia-qemu-80cc1a0dd19cc414ddaa3f1b9b6ef91e3ebc12b2.zip
vmbus: Don't make QOM property registration conditional
Having properties registered conditionally makes QOM type
introspection difficult.  Instead of skipping registration of the
"instanceid" property, always register the property but validate
its value against the instance id required by the class.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Message-Id: <20201009200701.1830060-1-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'util/mmap-alloc.c')
0 files changed, 0 insertions, 0 deletions