acpi: support specified oem table id for build_header
commit8870ca0e94f2524644812dd759863c0851ffb870
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Wed, 2 Dec 2015 07:20:57 +0000 (2 15:20 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 22 Dec 2015 16:39:20 +0000 (22 18:39 +0200)
tree4544827495b3f094a4c23519f1de523a509256a8
parent5c42eef24314fb51600b0e90fb69c60653ea05bb
acpi: support specified oem table id for build_header

Let build_header() support specified OEM table id so that we can build
multiple SSDT later

If the oem table id is not specified (aka, NULL), we use the default id
instead as the previous behavior

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/aml-build.c
hw/arm/virt-acpi-build.c
hw/i386/acpi-build.c
include/hw/acpi/aml-build.h