commit | 3d3ebcad6a0ff7ceb6dd0f2f678c326968399b18 | [log] [tgz] |
---|---|---|
author | Igor Mammedov <imammedo@redhat.com> | Fri Feb 26 14:59:22 2016 +0100 |
committer | Michael S. Tsirkin <mst@redhat.com> | Fri Mar 11 16:59:12 2016 +0200 |
tree | 6f8e963f1360ea7e0e20421db54c304af26f9d25 | |
parent | 3811ef14f59f9b0f9d9ad660a8d035c30944ca44 [diff] |
pc: acpi: cleanup qdev_get_machine() calls cache qdev_get_machine() result in acpi_setup/acpi_build_update time and pass it as an argument to child functions that need it. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>