Re: [PATCH 05/15] device-hotplug: Replace current_machine by qdev_get_machine()

2020-01-12 Thread Alistair Francis
On Thu, Jan 9, 2020 at 11:27 PM Philippe Mathieu-Daudé wrote: > > As we want to remove the global current_machine, > replace MACHINE_GET_CLASS(current_machine) by > MACHINE_GET_CLASS(qdev_get_machine()). > > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Alistair > --- >

[PATCH 05/15] device-hotplug: Replace current_machine by qdev_get_machine()

2020-01-09 Thread Philippe Mathieu-Daudé
As we want to remove the global current_machine, replace MACHINE_GET_CLASS(current_machine) by MACHINE_GET_CLASS(qdev_get_machine()). Signed-off-by: Philippe Mathieu-Daudé --- device-hotplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device-hotplug.c