WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH V5 0/6] firmware changes as part of QEMU/Xen merge.

To: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH V5 0/6] firmware changes as part of QEMU/Xen merge.
From: anthony.perard@xxxxxxxxxx
Date: Fri, 29 Oct 2010 18:22:19 +0100
Cc: anthony.perard@xxxxxxxxxx
Delivery-date: Fri, 29 Oct 2010 10:25:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
From: Anthony PERARD <anthony.perard@xxxxxxxxxx>

This patches are for Xen-unstable and Qemu-DM.

With the integration of Xen into QEMU, we would like to minimise the change
and use the ACPI implementation of QEMU. So there are some change to make on
the firmware to match the QEMU's BIOS. Some IO Ports are different and the
sleep state values are different.

Change v4->v5:
  - fix save of data to save in xc save.

Change v3->v4:
  - Rename HVM_PARAM_ACPI_NEW_IOPORT to HVM_PARAM_ACPI_IOPORTS_LOCATION
  - Better comment for HVM_PARAM_ACPI_IOPORTS_LOCATION.

Change v2->v3:
Xen will register the old ioport by default and switch to the new ioport if the
HVM_PARAM_ACPI_NEW_IOPORT is set. So, this series come with a new function,
unregister_io_handler, and a new HVM_PARAM.

Change v1->v2:
This time, both old and new ioport are handled.
In QEMU-Xen, the choice between one or the other is made when a saved state is
restored.
In Xen, both ioports are registered.

Anthony PERARD (5):
  firmware, Change ACPI IO addresses and values to match QEMU BIOS.
  xen, Introduce unregister_io_handler
  xen, Introduce pmtimer_change_ioport and
    HVM_PARAM_ACPI_IOPORTS_LOCATION.
  firmware, Set HVM_PARAM_ACPI_IOPORTS_LOCATION
  libxc, save/restore, Save the HVM_PARAM_ACPI_IOPORTS_LOCATION

 tools/firmware/hvmloader/acpi/dsdt.asl |   12 ++++++------
 tools/firmware/hvmloader/hvmloader.c   |   11 +++++++++++
 tools/libxc/xc_domain_restore.c        |   20 ++++++++++++++++++++
 tools/libxc/xc_domain_save.c           |   10 ++++++++++
 tools/libxc/xg_save_restore.h          |    1 +
 xen/arch/x86/hvm/hvm.c                 |    9 +++++++++
 xen/arch/x86/hvm/intercept.c           |   26 ++++++++++++++++++++++++++
 xen/arch/x86/hvm/pmtimer.c             |   26 ++++++++++++++++++++++++--
 xen/include/asm-x86/hvm/io.h           |    8 ++++++++
 xen/include/asm-x86/hvm/vpt.h          |    1 +
 xen/include/public/hvm/ioreq.h         |   16 +++++++++++++---
 xen/include/public/hvm/params.h        |   12 +++++++++++-
 12 files changed, 140 insertions(+), 12 deletions(-)


QEMU-Xen change:

Anthony PERARD (1):
  piix4acpi: change in ACPI to match the change in the BIOS.

 hw/piix4acpi.c |   99 ++++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 82 insertions(+), 17 deletions(-)

-- 
Anthony PERARD

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel