From: anthony.perard@citrix.com Subject: [PATCH V5 00/14] xen device model support Date: Mon, 11 Oct 2010 17:06:56 +0100 Message-ID: <1286813230-17539-1-git-send-email-anthony.perard@citrix.com> Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: qemu-devel@nongnu.org Cc: Anthony PERARD , xen-devel@lists.xensource.com, anthony@codemonkey.ws, Stefano.Stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org From: Anthony PERARD Hi all, This is the fifth version of the patch series that adds Xen device model support in QEMU. The change we have made on the last version are: - We removed the Xen specific ACPI PIIX4 implementation and added a Xen call in acpi_piix4.c for the sleep state. - We removed all the qemu_ram_ptr_unlock calls apart from the one in cpu_physical_memory_rw. Please let us know if you have any additional comments and we'll be happy to address them. Otherwise this version of the series contains everything needed for Xen support in Qemu, so it could be considered for commit. Anthony PERARD (14): xen: Replace some tab-indents with spaces (clean-up). xen: Support new libxc calls from xen unstable. xen: Add xen_machine_fv Introduce -accel command option. xen: Add xen in -accel option. xen: Add the Xen platform pci device piix_pci: Introduces Xen specific call for irq. xen: add a 8259 Interrupt Controller xen: Introduce the Xen mapcache Introduce qemu_ram_ptr_unlock. vl.c: Introduce getter for shutdown_requested and reset_requested. xen: Initialize event channels and io rings xen: Set running state in xenstore. acpi-piix4: Add Xen hypercall for sleep state. Makefile.target | 12 + configure | 70 ++++++- cpu-common.h | 1 + exec.c | 49 ++++- hw/acpi_piix4.c | 4 + hw/hw.h | 3 + hw/pci_ids.h | 2 + hw/piix_pci.c | 28 +++- hw/xen.h | 28 +++ hw/xen_backend.c | 314 ++++++++++++++-------------- hw/xen_backend.h | 2 +- hw/xen_common.h | 48 +++-- hw/xen_disk.c | 414 ++++++++++++++++++------------------ hw/xen_domainbuild.c | 2 +- hw/xen_machine_fv.c | 160 ++++++++++++++ hw/xen_nic.c | 230 ++++++++++---------- hw/xen_platform.c | 431 +++++++++++++++++++++++++++++++++++++ hw/xen_platform.h | 8 + qemu-options.hx | 10 + sysemu.h | 2 + vl.c | 98 ++++++++- xen-all.c | 573 ++++++++++++++++++++++++++++++++++++++++++++++++++ xen-mapcache-stub.c | 33 +++ xen-mapcache.c | 335 +++++++++++++++++++++++++++++ xen-mapcache.h | 14 ++ xen-stub.c | 38 ++++ 26 files changed, 2395 insertions(+), 514 deletions(-) create mode 100644 hw/xen_machine_fv.c create mode 100644 hw/xen_platform.c create mode 100644 hw/xen_platform.h create mode 100644 xen-all.c create mode 100644 xen-mapcache-stub.c create mode 100644 xen-mapcache.c create mode 100644 xen-mapcache.h create mode 100644 xen-stub.c -- Anthony PERARD