From patchwork Mon May 9 17:39:47 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 94831 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id EEB9CB6F1B for ; Tue, 10 May 2011 03:40:00 +1000 (EST) Received: from localhost ([::1]:54063 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJUR4-0000q4-An for incoming@patchwork.ozlabs.org; Mon, 09 May 2011 13:39:58 -0400 Received: from eggs.gnu.org ([140.186.70.92]:53534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJUQw-0000pn-Vc for qemu-devel@nongnu.org; Mon, 09 May 2011 13:39:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QJUQv-0006vM-P4 for qemu-devel@nongnu.org; Mon, 09 May 2011 13:39:50 -0400 Received: from cantor2.suse.de ([195.135.220.15]:36718 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJUQv-0006vG-FX for qemu-devel@nongnu.org; Mon, 09 May 2011 13:39:49 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id 32345890B6; Mon, 9 May 2011 19:39:47 +0200 (CEST) From: Alexander Graf To: anthony@codemonkey.ws Date: Mon, 9 May 2011 19:39:47 +0200 Message-Id: <1304962787-1959-1-git-send-email-agraf@suse.de> X-Mailer: git-send-email 1.7.3.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 195.135.220.15 Cc: anthony.perard@citrix.com, xen-devel@lists.xensource.com, qemu-devel@nongnu.org, stefano.stabellini@eu.citrix.com Subject: [Qemu-devel] [PULL] Xen HVM support X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Hi Anthony, These are Anthony's patches for Xen HVM support, nicely signed off, rebased to fit today's HEAD and compile tested. Please pull. Alex The following changes since commit 85097db6956bc86e2377b63a8309cb8b24d54139: Richard Henderson (1): irq: Privatize CPU_INTERRUPT_NMI. are available in the git repository at: git://repo.or.cz/qemu/agraf.git xen-next Anthony PERARD (16): Introduce -machine command option. machine, Add default_machine_opts to QEMUMachine. 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 +- arch_init.c | 5 + arch_init.h | 1 + configure | 71 ++++++- cpu-common.h | 1 + exec.c | 86 +++++++- hw/boards.h | 1 + hw/pc.c | 28 +-- hw/pc.h | 11 +- hw/pc_piix.c | 71 ++++++- hw/pci.c | 2 + hw/piix_pci.c | 49 ++++- 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 ++++++++++++---------- qemu-config.c | 14 ++ qemu-options.hx | 10 + sysemu.h | 2 + trace-events | 13 + vl.c | 136 ++++++++++- xen-all.c | 605 ++++++++++++++++++++++++++++++++++++++++++++++++++ xen-mapcache-stub.c | 44 ++++ xen-mapcache.c | 375 +++++++++++++++++++++++++++++++ xen-mapcache.h | 37 +++ xen-stub.c | 41 ++++ 30 files changed, 2343 insertions(+), 613 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