]> git.proxmox.com Git - mirror_qemu.git/commit - include/hw/i386/pc.h
PCMachineState: introduce acpi_build_enabled field
authorWei Liu <wei.liu2@citrix.com>
Tue, 1 Nov 2016 17:44:16 +0000 (17:44 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 2 Nov 2016 19:26:12 +0000 (12:26 -0700)
commit021746c131cdfeab9d82ff918795a9f18d20d7ae
tree1c214de35643642fee2682fc697060f2ec9796d1
parentb5863634181a655bd2201cf51a363ac94a43f145
PCMachineState: introduce acpi_build_enabled field

Introduce this field to control whether ACPI build is enabled by a
particular machine or accelerator.

It defaults to true if the machine itself supports ACPI build. Xen
accelerator will disable it because Xen is in charge of building ACPI
tables for the guest.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-by: Sander Eikelenboom <linux@eikelenboom.it>
hw/i386/acpi-build.c
hw/i386/pc.c
include/hw/i386/pc.h
xen-common.c