This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] [PATCH V15 00/18] Xen device model support

To: QEMU-devel <qemu-devel@xxxxxxxxxx>, Anthony Liguori <anthony@xxxxxxxxxxxxx>, Alexander Graf <agraf@xxxxxxx>
Subject: [Xen-devel] [PATCH V15 00/18] Xen device model support
From: <anthony.perard@xxxxxxxxxx>
Date: Thu, 5 May 2011 11:58:15 +0100
Cc: Anthony PERARD <anthony.perard@xxxxxxxxxx>, Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Delivery-date: Thu, 05 May 2011 04:00:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
From: Anthony PERARD <anthony.perard@xxxxxxxxxx>

Hi all,

Here is an update on the series that add the support of a Xen HVM guest to

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
  - 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
  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


Xen-devel mailing list