diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2020-12-11 17:05:01 -0500 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2020-12-15 10:02:07 -0500 |
commit | 85f6f43283d669413045bbba93946f9e08e1c56d (patch) | |
tree | b60486f9271ae3b36557f65bfb734cfb2d883758 /audio/paaudio.c | |
parent | d3fd6e7380b6212a3cd0b9f1304c84d8caa8dcf7 (diff) | |
download | qemu-85f6f43283d669413045bbba93946f9e08e1c56d.zip qemu-85f6f43283d669413045bbba93946f9e08e1c56d.tar.gz qemu-85f6f43283d669413045bbba93946f9e08e1c56d.tar.bz2 |
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 'audio/paaudio.c')
0 files changed, 0 insertions, 0 deletions