Re: [PATCH 11/15] exec: Replace current_machine by qdev_get_machine()

2020-01-13 Thread Alistair Francis
On Fri, Jan 10, 2020 at 1:37 AM Philippe Mathieu-Daudé wrote: > > As we want to remove the global current_machine, > replace 'current_machine' by MACHINE(qdev_get_machine()). > > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Alistair > --- > exec.c | 10 ++ > 1

[PATCH 11/15] exec: Replace current_machine by qdev_get_machine()

2020-01-09 Thread Philippe Mathieu-Daudé
As we want to remove the global current_machine, replace 'current_machine' by MACHINE(qdev_get_machine()). Signed-off-by: Philippe Mathieu-Daudé --- exec.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/exec.c b/exec.c index d4b769d0d4..98f5b049ca 100644 --- a/exe