Eduardo Habkost <ehabk...@redhat.com> writes: > On Thu, Apr 25, 2019 at 11:12:29AM +0800, Like Xu wrote: >> On 2019/4/25 1:21, Eduardo Habkost wrote: > [...] >> > >> > I think we all agree that qdev_get_machine() should eventually be >> > available in softmmu only. >> >> I think we need to make it happen to avoid calling qdev_get_machine() >> in user-only mode.
That would be ideal. > Agreed. My point is that we we shouldn't need a > qdev_get_machine_unchecked() function at all if we first get rid > of all user-only qdev_get_machine() calls. Concur.