Revision 5b9237f6
ID | 5b9237f67c499fa4e20bb9bd29c7ce54afe79cb7 |
qom: Assert instance size in object_initialize_with_type()
This catches objects initializing beyond allocated memory, e.g.,
when subtypes get extended with instance state of their own.
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Files
- added
- modified
- copied
- renamed
- deleted