diff options
| author | Eduardo Habkost | 2020-12-11 23:05:01 +0100 |
|---|---|---|
| committer | Eduardo Habkost | 2020-12-15 16:02:07 +0100 |
| commit | 85f6f43283d669413045bbba93946f9e08e1c56d (patch) | |
| tree | b60486f9271ae3b36557f65bfb734cfb2d883758 /scripts/shaderinclude.pl | |
| parent | qdev: Move property code to qdev-properties.[ch] (diff) | |
| download | qemu-85f6f43283d669413045bbba93946f9e08e1c56d.tar.gz qemu-85f6f43283d669413045bbba93946f9e08e1c56d.tar.xz qemu-85f6f43283d669413045bbba93946f9e08e1c56d.zip | |
qdev: Check dev->realized at set_size()
This setter is one of the very few property setters that don't
check dev->realized, and there's no reason to make size
properties different from the rest. Add the missing check.
Fixes: e8cd45c78f53 ("qdev: Add SIZE type to qdev properties")
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20201211220529.2290218-5-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'scripts/shaderinclude.pl')
0 files changed, 0 insertions, 0 deletions
