diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2019-01-10 16:04:57 -0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-01-17 21:10:57 -0500 |
commit | d7741743f4f3d2683d1bb6938f88dc0167c21afa (patch) | |
tree | 26d7b5126284169d4cd3a4b9d467927af47cb6ef /include/qemu-common.h | |
parent | ecd3b89b0549d6b82bed5e25a0a2fb153d5df4d4 (diff) |
globals: Allow global properties to be optional
Making some global properties optional will let us simplify
compat code when a given property works on most (but not all)
subclasses of a given type.
Device types will be able to opt out from optional compat
properties by simply not registering those properties.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.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 'include/qemu-common.h')
0 files changed, 0 insertions, 0 deletions