qdev-properties: PropertyInfo: add realized_set_allowed field
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tue, 24 Aug 2021 08:38:25 +0000 (11:38 +0300)
committerHanna Reitz <hreitz@redhat.com>
Wed, 1 Sep 2021 10:57:31 +0000 (12:57 +0200)
commitdeb2bb163f798a4bc044be5e474792852cb0366b
tree84e7ee167d1ac1b42705606956d69c0b0dad2dc6
parented089506eeb44fd7f7f385a9172e51b198ae489d
qdev-properties: PropertyInfo: add realized_set_allowed field

Add field, so property can declare support for setting the property
when device is realized. To be used in the following commit.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20210824083856.17408-4-vsementsov@virtuozzo.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
hw/core/qdev-properties.c
include/hw/qdev-properties.h