Re: [Qemu-devel] [PATCH 3/9] pc: acpi: cleanup qdev_get_machine() calls

2016-02-04 Thread Marcel Apfelbaum
On 02/04/2016 01:47 PM, Igor Mammedov wrote: call qdev_get_machine() once at acpi_build() and pass its result to child functions that need it. Signed-off-by: Igor Mammedov --- Later it will also allow to reduce number of arguments passed around by build_foo() functions called from acpi_build()

[Qemu-devel] [PATCH 3/9] pc: acpi: cleanup qdev_get_machine() calls

2016-02-04 Thread Igor Mammedov
call qdev_get_machine() once at acpi_build() and pass its result to child functions that need it. Signed-off-by: Igor Mammedov --- Later it will also allow to reduce number of arguments passed around by build_foo() functions called from acpi_build() once guest_info fields are moved into PCMachine