From: anthony.perard@citrix.com Subject: [PATCH V4 4/6] firmware, Set HVM_PARAM_ACPI_IOPORTS_LOCATION Date: Fri, 29 Oct 2010 16:39:38 +0100 Message-ID: <1288366780-10174-5-git-send-email-anthony.perard@citrix.com> References: <1288366780-10174-1-git-send-email-anthony.perard@citrix.com> Return-path: In-Reply-To: <1288366780-10174-1-git-send-email-anthony.perard@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen Devel Cc: anthony.perard@citrix.com List-Id: xen-devel@lists.xenproject.org From: Anthony PERARD This will tell the Xen to use the new Port I/O instead of the old one. Signed-off-by: Anthony PERARD --- tools/firmware/hvmloader/hvmloader.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/tools/firmware/hvmloader/hvmloader.c b/tools/firmware/hvmloader/hvmloader.c index cfe026f..bf23f80 100644 --- a/tools/firmware/hvmloader/hvmloader.c +++ b/tools/firmware/hvmloader/hvmloader.c @@ -763,8 +763,15 @@ int main(void) if ( hvm_info->acpi_enabled ) { + struct xen_hvm_param p = { + .domid = DOMID_SELF, + .index = HVM_PARAM_ACPI_IOPORTS_LOCATION, + .value = 1, + }; + printf("Loading ACPI ...\n"); acpi_build_tables(); + hypercall_hvm_op(HVMOP_set_param, &p); } init_vm86_tss(); -- 1.7.1