[Qemu-devel] [PATCH V10 00/15] Xen device model support

2011-02-02 Thread anthony . perard
From: Anthony PERARD 

Hi,

There is a lot of change since the V9 of the Xen device model. One of theme is
to use the 'pc' machine for Xen instead of duplicate this machine in another
file.

Here is the change since the last version:
  - typedef of qemu_xc_interface, qemu_xc_gnttab and qemu_xc_evtchn have been
renamed to XenXC, XenGnttab and XenEvtchn;
  - replace asprintf by snprintf;
  - rename "Xen i8259" to Xen Interrupt Controller;
  - remove xen_redirect.h file and replace all Xen calls to use xen_interfaces
calls;
  - add copyright header in some files;
  - in mapcache, use RLIMIT_AS to have the max mapcache size, instead of have a
max depends on the architecture;
  - in mapcache, set rlimit_as.rlim_cur = rlimit_as.rlim_max;
  - in xen platform pci device, removed the throttle;
  - qemu_ram_ptr_unlock renamed to qemu_put_ram_ptr;
  - put specific xen calls into pc_piix and xen_machine_fv have been removed;
  - fix few coding style.


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


Anthony PERARD (12):
  xen: Replace some tab-indents with spaces (clean-up).
  xen: Make xen build only on x86 target.
  xen: Support new libxc calls from xen unstable.
  xen: Add initialisation of Xen
  xen: Add xenfv machine
  piix_pci: Introduces Xen specific call for irq.
  xen: Introduce Xen Interrupt Controller
  configure: Always use 64bits target physical addresses with xen
enabled.
  Introduce qemu_put_ram_ptr
  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

Jun Nakajima (1):
  xen: Introduce the Xen mapcache

Steven Smith (1):
  xen: Add the Xen platform pci device

 Makefile.objs|4 -
 Makefile.target  |   14 ++-
 configure|   71 ++-
 cpu-common.h |1 +
 exec.c   |   50 -
 hw/hw.h  |3 +
 hw/pc.c  |   19 ++-
 hw/pc_piix.c |   39 +++-
 hw/pci_ids.h |2 +
 hw/piix_pci.c|   28 +++-
 hw/xen.h |   41 
 hw/xen_backend.c |  372 
 hw/xen_backend.h |7 +-
 hw/xen_common.h  |   40 +++--
 hw/xen_console.c |   10 +-
 hw/xen_devconfig.c   |   10 +-
 hw/xen_disk.c|  402 ++-
 hw/xen_domainbuild.c |   29 ++--
 hw/xen_interfaces.c  |  191 +
 hw/xen_interfaces.h  |  198 +
 hw/xen_nic.c |  230 ++--
 hw/xen_platform.c|  348 ++
 hw/xenfb.c   |   14 +-
 sysemu.h |2 +
 vl.c |   12 +
 xen-all.c|  579 ++
 xen-mapcache-stub.c  |   40 
 xen-mapcache.c   |  344 ++
 xen-mapcache.h   |   22 ++
 xen-stub.c   |   47 
 30 files changed, 2599 insertions(+), 570 deletions(-)
 create mode 100644 hw/xen_interfaces.c
 create mode 100644 hw/xen_interfaces.h
 create mode 100644 hw/xen_platform.c
 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




Re: [Qemu-devel] [PATCH V10 00/15] Xen device model support

2011-02-24 Thread Anthony Liguori

On 02/02/2011 08:49 AM, anthony.per...@citrix.com wrote:

From: Anthony PERARD

Hi,

There is a lot of change since the V9 of the Xen device model. One of theme is
to use the 'pc' machine for Xen instead of duplicate this machine in another
file.

Here is the change since the last version:
   - typedef of qemu_xc_interface, qemu_xc_gnttab and qemu_xc_evtchn have been
 renamed to XenXC, XenGnttab and XenEvtchn;
   - replace asprintf by snprintf;
   - rename "Xen i8259" to Xen Interrupt Controller;
   - remove xen_redirect.h file and replace all Xen calls to use xen_interfaces
 calls;
   - add copyright header in some files;
   - in mapcache, use RLIMIT_AS to have the max mapcache size, instead of have a
 max depends on the architecture;
   - in mapcache, set rlimit_as.rlim_cur = rlimit_as.rlim_max;
   - in xen platform pci device, removed the throttle;
   - qemu_ram_ptr_unlock renamed to qemu_put_ram_ptr;
   - put specific xen calls into pc_piix and xen_machine_fv have been removed;
   - fix few coding style.


This series depends on the series "Introduce "machine" QemuOpts".
   


Looks pretty good minus the few comments I made!

Regards,

Anthony Liguori



You can find a git tree here:

git://xenbits.xen.org/people/aperard/qemu-dm.git qemu-dm-v10


Anthony PERARD (12):
   xen: Replace some tab-indents with spaces (clean-up).
   xen: Make xen build only on x86 target.
   xen: Support new libxc calls from xen unstable.
   xen: Add initialisation of Xen
   xen: Add xenfv machine
   piix_pci: Introduces Xen specific call for irq.
   xen: Introduce Xen Interrupt Controller
   configure: Always use 64bits target physical addresses with xen
 enabled.
   Introduce qemu_put_ram_ptr
   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

Jun Nakajima (1):
   xen: Introduce the Xen mapcache

Steven Smith (1):
   xen: Add the Xen platform pci device

  Makefile.objs|4 -
  Makefile.target  |   14 ++-
  configure|   71 ++-
  cpu-common.h |1 +
  exec.c   |   50 -
  hw/hw.h  |3 +
  hw/pc.c  |   19 ++-
  hw/pc_piix.c |   39 +++-
  hw/pci_ids.h |2 +
  hw/piix_pci.c|   28 +++-
  hw/xen.h |   41 
  hw/xen_backend.c |  372 
  hw/xen_backend.h |7 +-
  hw/xen_common.h  |   40 +++--
  hw/xen_console.c |   10 +-
  hw/xen_devconfig.c   |   10 +-
  hw/xen_disk.c|  402 ++-
  hw/xen_domainbuild.c |   29 ++--
  hw/xen_interfaces.c  |  191 +
  hw/xen_interfaces.h  |  198 +
  hw/xen_nic.c |  230 ++--
  hw/xen_platform.c|  348 ++
  hw/xenfb.c   |   14 +-
  sysemu.h |2 +
  vl.c |   12 +
  xen-all.c|  579 ++
  xen-mapcache-stub.c  |   40 
  xen-mapcache.c   |  344 ++
  xen-mapcache.h   |   22 ++
  xen-stub.c   |   47 
  30 files changed, 2599 insertions(+), 570 deletions(-)
  create mode 100644 hw/xen_interfaces.c
  create mode 100644 hw/xen_interfaces.h
  create mode 100644 hw/xen_platform.c
  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