Re: [PATCH 09/15] device_tree: Replace current_machine by qdev_get_machine()

2020-01-12 Thread Alistair Francis
On Thu, Jan 9, 2020 at 11:34 PM 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 > --- > device_tree.c | 4 +++- > 1

[PATCH 09/15] device_tree: 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é --- device_tree.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/device_tree.c b/device_tree.c index f8b46b3c73..665ea2f586 100