|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH V4 4/6] firmware, Set HVM_PARAM_ACPI_IOPORTS_LOCATION
From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
This will tell the Xen to use the new Port I/O instead of the old one.
Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
---
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH V4 0/6] firmware changes as part of QEMU/Xen merge., anthony . perard
- [Xen-devel] [PATCH V4 1/6] firmware, Change ACPI IO addresses and values to match QEMU BIOS., anthony . perard
- [Xen-devel] [PATCH V4 4/6] firmware, Set HVM_PARAM_ACPI_IOPORTS_LOCATION,
anthony . perard <=
- [Xen-devel] [PATCH V4 2/6] xen, Introduce unregister_io_handler, anthony . perard
- [Xen-devel] [PATCH V4 3/6] xen, Introduce pmtimer_change_ioport and HVM_PARAM_ACPI_IOPORTS_LOCATION., anthony . perard
- [Xen-devel] [PATCH V4 5/6] libxc, save/restore, Save the HVM_PARAM_ACPI_IOPORTS_LOCATION, anthony . perard
- [Xen-devel] [PATCH V4 6/6] piix4acpi: change in ACPI to match the change in the BIOS., anthony . perard
- Re: [Xen-devel] [PATCH V4 0/6] firmware changes as part of QEMU/Xen merge., Keir Fraser
|
|
|
|
|