From: Anthony PERARD Subject: [PATCH] hvmloader: Load proper ACPI tables with OVMF Date: Mon, 14 Dec 2015 16:08:53 +0000 Message-ID: <1450109333-18201-1-git-send-email-anthony.perard@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Anthony PERARD , Andrew Cooper , Jan Beulich List-Id: xen-devel@lists.xenproject.org This patch loads the ACPI tables associated with QEMU instead of the one for qemu-traditional. Signed-off-by: Anthony PERARD --- tools/firmware/hvmloader/ovmf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/firmware/hvmloader/ovmf.c b/tools/firmware/hvmloader/ovmf.c index bb3da93..db9fa7a 100644 --- a/tools/firmware/hvmloader/ovmf.c +++ b/tools/firmware/hvmloader/ovmf.c @@ -47,8 +47,8 @@ #define LOWCHUNK_END (OVMF_BEGIN + OVMF_SIZE) #define OVMF_INFO_PHYSICAL_ADDRESS 0x00001000 -extern unsigned char dsdt_anycpu[]; -extern int dsdt_anycpu_len; +extern unsigned char dsdt_anycpu_qemu_xen[]; +extern int dsdt_anycpu_qemu_xen_len; #define OVMF_INFO_MAX_TABLES 4 struct ovmf_info { @@ -119,8 +119,8 @@ static void ovmf_load(const struct bios_config *config) static void ovmf_acpi_build_tables(void) { struct acpi_config config = { - .dsdt_anycpu = dsdt_anycpu, - .dsdt_anycpu_len = dsdt_anycpu_len, + .dsdt_anycpu = dsdt_anycpu_qemu_xen, + .dsdt_anycpu_len = dsdt_anycpu_qemu_xen_len, .dsdt_15cpu = NULL, .dsdt_15cpu_len = 0 }; -- Anthony PERARD