Re: [PATCH 04/36] qdev: Check dev->realized at set_size()

2020-10-30 Thread Marc-André Lureau
On Fri, Oct 30, 2020 at 2:06 AM Eduardo Habkost wrote: > 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 pro

[PATCH 04/36] qdev: Check dev->realized at set_size()

2020-10-29 Thread Eduardo Habkost
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 --- Cc: Paolo Bonzini C