All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 0/6] firmware changes as part of QEMU/Xen merge.
@ 2010-10-29 12:08 anthony.perard
  2010-10-29 12:08 ` [PATCH V3 1/6] firmware, Change ACPI IO addresses and values to match QEMU BIOS anthony.perard
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: anthony.perard @ 2010-10-29 12:08 UTC (permalink / raw)
  To: Xen Devel; +Cc: anthony.perard

From: Anthony PERARD <anthony.perard@citrix.com>

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 with the 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, Intruduce pmtimer_change_ioport and HVM_PARAM_ACPI_NEW_IOPORT.
  firmware, Set HVM_PARAM_ACPI_NEW_IOPORT
  libxc, save/restore, Save the HVM_PARAM_ACPI_NEW_IOPORT

 tools/firmware/hvmloader/acpi/dsdt.asl |   12 ++++++------
 tools/firmware/hvmloader/hvmloader.c   |   11 +++++++++++
 tools/libxc/xc_domain_restore.c        |   12 ++++++++++++
 tools/libxc/xc_domain_save.c           |   11 +++++++++++
 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        |    5 ++++-
 12 files changed, 126 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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-10-29 13:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-29 12:08 [PATCH V3 0/6] firmware changes as part of QEMU/Xen merge anthony.perard
2010-10-29 12:08 ` [PATCH V3 1/6] firmware, Change ACPI IO addresses and values to match QEMU BIOS anthony.perard
2010-10-29 12:08 ` [PATCH V3 2/6] xen, Introduce unregister_io_handler anthony.perard
2010-10-29 12:08 ` [PATCH V3 3/6] xen, Intruduce pmtimer_change_ioport and HVM_PARAM_ACPI_NEW_IOPORT anthony.perard
2010-10-29 12:25   ` Keir Fraser
2010-10-29 13:09     ` Anthony PERARD
2010-10-29 12:08 ` [PATCH V3 4/6] firmware, Set HVM_PARAM_ACPI_NEW_IOPORT anthony.perard
2010-10-29 12:08 ` [PATCH V3 5/6] libxc, save/restore, Save the HVM_PARAM_ACPI_NEW_IOPORT anthony.perard
2010-10-29 12:08 ` [PATCH V3 6/6] piix4acpi: change in ACPI to match the change in the BIOS anthony.perard
2010-10-29 13:11 ` [PATCH V3 0/6] firmware changes as part of QEMU/Xen merge Pasi Kärkkäinen
2010-10-29 13:16   ` Keir Fraser
2010-10-29 13:18     ` Keir Fraser
2010-10-29 13:27       ` Pasi Kärkkäinen
2010-10-29 13:42         ` [PATCH V3 0/6] firmware changes as part ofMU/Xen merge Anthony PERARD

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.