From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: [PATCH V3 0/6] firmware changes as part of QEMU/Xen merge. Date: Fri, 29 Oct 2010 16:11:10 +0300 Message-ID: <20101029131110.GN2804@reaktio.net> References: <1288354119-1916-1-git-send-email-anthony.perard@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1288354119-1916-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: anthony.perard@citrix.com Cc: Xen Devel List-Id: xen-devel@lists.xenproject.org On Fri, Oct 29, 2010 at 01:08:33PM +0100, anthony.perard@citrix.com wrote: > From: Anthony PERARD > > 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. > Should it be called something else than HVM_PARAM_ACPI_NEW_IOPORT ? After a couple of years "NEW" might not make much sense anymore.. IOPORT_V2 ? Or something.. -- Pasi > > 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 > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel