On Mon, Apr 15, 2019 at 03:59:45PM +0800, Like Xu wrote: > To avoid the misuse of qdev_get_machine() if machine hasn't been created yet, > this patch uses qdev_get_machine_uncheck() for obj-common (share with > user-only > mode) and adds type assertion to qdev_get_machine() in system-emulation mode. > > Suggested-by: Igor Mammedov <imamm...@redhat.com> > Signed-off-by: Like Xu <like...@linux.intel.com>
Reviewed-by: Eduardo Habkost <ehabk...@redhat.com> I'm queueing the series on machine-next, thanks! -- Eduardo