From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=59881 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Psf9K-00005G-TV for qemu-devel@nongnu.org; Thu, 24 Feb 2011 12:38:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Psf8y-0001Es-00 for qemu-devel@nongnu.org; Thu, 24 Feb 2011 12:38:25 -0500 Received: from mail-vx0-f173.google.com ([209.85.220.173]:34610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Psf8x-0001Ej-PO for qemu-devel@nongnu.org; Thu, 24 Feb 2011 12:38:23 -0500 Received: by vxb41 with SMTP id 41so696422vxb.4 for ; Thu, 24 Feb 2011 09:38:23 -0800 (PST) Message-ID: <4D669790.4080201@codemonkey.ws> Date: Thu, 24 Feb 2011 11:38:24 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH V10 00/15] Xen device model support References: <1296658172-16609-1-git-send-email-anthony.perard@citrix.com> In-Reply-To: <1296658172-16609-1-git-send-email-anthony.perard@citrix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: anthony.perard@citrix.com Cc: Xen Devel , QEMU-devel , Stefano Stabellini On 02/02/2011 08:49 AM, anthony.perard@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 > > >