From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHwGm-0001Tx-9d for qemu-devel@nongnu.org; Thu, 05 May 2011 06:58:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHwGl-0003tW-8o for qemu-devel@nongnu.org; Thu, 05 May 2011 06:58:56 -0400 Received: from smtp.citrix.com ([66.165.176.89]:58460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHwGl-0003tE-5E for qemu-devel@nongnu.org; Thu, 05 May 2011 06:58:55 -0400 From: Date: Thu, 5 May 2011 11:58:15 +0100 Message-ID: <1304593113-10689-1-git-send-email-anthony.perard@citrix.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH V15 00/18] Xen device model support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU-devel , Anthony Liguori , Alexander Graf Cc: Anthony PERARD , Xen Devel , Stefano Stabellini From: Anthony PERARD Hi all, Here is an update on the series that add the support of a Xen HVM guest to QEMU. change v14-v15: - add a patch to not initialise vmport with Xen. The change v13->v14: - Remove of ram_size parameter from pc_memory_init - set both below/above_4g_mem_size at the same place in the code. Change v12->v13: - There are few changes in the xen init code. A xen_hvm_init function is new in this patch set and is call from xenfv:machine->init. -> So "-xen-create -M xenpv" will continue to work as before this patch series. - There is a new reset handler to set env->halted = 0 on the first vcpu. - One change have been made to pc_memory_init, the calculation of below/above_4g_mem_size have been moved to pc_init1. This is to remove a "random" "if (xen()) return;" in pc_memory_init. - xen_map_block is a new function to map RAMBlock that belong to a ROM/RAM of a device. - fix cpu_physical_memory_unmap with mapcache, Because qemu_get_ram_ptr can be called more than one time in cpu_physical_memory_map, qemu_put_ram_ptr need to be called the same amount of time. - Add some trace_* call. This series depends on the series "Introduce "machine" QemuOpts". You can find a git tree here: git://xenbits.xen.org/people/aperard/qemu-dm.git qemu-dm-v15 Anthony PERARD (14): xen: Replace some tab-indents with spaces (clean-up). xen: Make Xen build once. xen: Support new libxc calls from xen unstable. xen: Add initialisation of Xen pc_memory_init: Move memory calculation to the caller. xen: Add xenfv machine pc, Disable vmport initialisation with Xen. piix_pci: Introduces Xen specific call for irq. xen: Introduce Xen Interrupt Controller Introduce qemu_put_ram_ptr configure: Always use 64bits target physical addresses with xen enabled. vl.c: Introduce getter for shutdown_requested and reset_requested. xen: Set running state in xenstore. xen: Add Xen hypercall for sleep state in the cmos_s3 callback. Arun Sharma (1): xen: Initialize event channels and io rings John Baboval (2): xen: Adds a cap to the number of map cache entries. pci: Use of qemu_put_ram_ptr in pci_add_option_rom. Jun Nakajima (1): xen: Introduce the Xen mapcache Makefile.target | 14 +- configure | 71 ++++++- cpu-common.h | 1 + exec.c | 86 +++++++- hw/pc.c | 28 +-- hw/pc.h | 11 +- hw/pc_piix.c | 71 ++++++- hw/pci.c | 2 + hw/piix_pci.c | 47 ++++- hw/xen.h | 41 ++++ hw/xen_backend.c | 421 +++++++++++++++++++---------------- hw/xen_backend.h | 6 +- hw/xen_common.h | 106 ++++++++-- hw/xen_disk.c | 496 ++++++++++++++++++++++------------------- hw/xen_domainbuild.c | 3 +- hw/xen_machine_pv.c | 1 + hw/xen_nic.c | 265 ++++++++++++---------- sysemu.h | 2 + trace-events | 13 + vl.c | 12 + xen-all.c | 605 ++++++++++++++++++++++++++++++++++++++++++++++++++ xen-mapcache-stub.c | 44 ++++ xen-mapcache.c | 375 +++++++++++++++++++++++++++++++ xen-mapcache.h | 37 +++ xen-stub.c | 41 ++++ 25 files changed, 2198 insertions(+), 601 deletions(-) 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 -- 1.7.2.5