From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=37971 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCwCk-0007qz-5y for qemu-devel@nongnu.org; Mon, 01 Nov 2010 11:21:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCwCJ-00049f-Su for qemu-devel@nongnu.org; Mon, 01 Nov 2010 11:21:25 -0400 Received: from cantor2.suse.de ([195.135.220.15]:40016 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PCwCJ-00049Q-KJ for qemu-devel@nongnu.org; Mon, 01 Nov 2010 11:21:23 -0400 Subject: Re: [Qemu-devel] [PATCH 00/40] RFC: Xenner Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: multipart/alternative; boundary=Apple-Mail-71--1067451769 From: Alexander Graf In-Reply-To: <1288623713-28062-1-git-send-email-agraf@suse.de> Date: Mon, 1 Nov 2010 11:21:17 -0400 Message-Id: <65F8603D-C1ED-4C03-B155-2EAC0BD38A16@suse.de> References: <1288623713-28062-1-git-send-email-agraf@suse.de> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Developers Cc: Gerd Hoffmann --Apple-Mail-71--1067451769 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 01.11.2010, at 11:01, Alexander Graf wrote: > Some of you might remember Gerd's xenner project. The basic motivation = is to > run Xen PV guests in KVM with the normal KVM architecture. >=20 > In order to achieve this, Xenner contains of two pieces: >=20 > 1) Xenner Qemu pieces > 2) Xenner guest kernel >=20 > Part 1 is partially in qemu already. The xen support framework that = Gerd pushed > a while back can be used just as well for xenner. Some parts like a = special PV > device to communicate with xenner and, mechanisms to instantiate a VM = and=20 > replacements for xen infrastructure are provided in patches here. >=20 > Part 2 is a completely self-contained piece of code. The xenner guest = kernel > runs in the VM's CPL0 context. It translates guest hypercalls to = hardware calls > that KVM implements, like CR3 modifications or LAPIC accesses. >=20 > This patch set tries to revive Gerd's code by integrating as much as = possible > into the qemu code base. My ultimate goal is to isolate the qemu = xenner code > well enough to be able to run an i386 xen pv guest with tcg on = powerpc. >=20 > I'm sending this set out in the hope to receive feedback. Do you think = this is > a good idea? Can you spot some glitches in the code that I overlooked? = See > the list below for things I'm aware of to be broken. I forgot to mention the git repo this is also available at: git://repo.or.cz/qemu/agraf.git xenner-v0 That makes it a lot easier to try out :). Alex --Apple-Mail-71--1067451769 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Some = of you might remember Gerd's xenner project. The basic motivation is = to
run Xen PV guests in KVM with the normal KVM = architecture.

In order to achieve this, Xenner contains of two = pieces:

 1) Xenner Qemu pieces
 2) Xenner guest = kernel

Part 1 is partially in qemu already. The xen support = framework that Gerd pushed
a while back can be used just as well for = xenner. Some parts like a special PV
device to communicate with = xenner and, mechanisms to instantiate a VM and
replacements for xen = infrastructure are provided in patches here.

Part 2 is a = completely self-contained piece of code. The xenner guest kernel
runs = in the VM's CPL0 context. It translates guest hypercalls to hardware = calls
that KVM implements, like CR3 modifications or LAPIC = accesses.

This patch set tries to revive Gerd's code by = integrating as much as possible
into the qemu code base. My ultimate = goal is to isolate the qemu xenner code
well enough to be able to run = an i386 xen pv guest with tcg on powerpc.

I'm sending this set = out in the hope to receive feedback. Do you think this is
a good = idea? Can you spot some glitches in the code that I overlooked? = See
the list below for things I'm aware of to be = broken.

I forgot to mention = the git repo this is also available = at:



= --Apple-Mail-71--1067451769--