Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751035AbWCVR0z (ORCPT ); Wed, 22 Mar 2006 12:26:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751042AbWCVR0z (ORCPT ); Wed, 22 Mar 2006 12:26:55 -0500 Received: from 216-99-217-87.dsl.aracnet.com ([216.99.217.87]:34176 "EHLO sorel.sous-sol.org") by vger.kernel.org with ESMTP id S1751035AbWCVR0y (ORCPT ); Wed, 22 Mar 2006 12:26:54 -0500 Date: Wed, 22 Mar 2006 09:27:11 -0800 From: Chris Wright To: Anthony Liguori Cc: Chris Wright , linux-kernel@vger.kernel.org, virtualization@lists.osdl.org, xen-devel@lists.xensource.com Subject: Re: [RFC PATCH 00/35] Xen i386 paravirtualization support Message-ID: <20060322172711.GW15997@sorel.sous-sol.org> References: <20060322063040.960068000@sorel.sous-sol.org> <4421863C.4070403@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4421863C.4070403@us.ibm.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1722 Lines: 42 * Anthony Liguori (aliguori@us.ibm.com) wrote: > Chris Wright wrote: > >Xen also provides support for running directly on native hardware. > > Can someone elaborate on this? Does this mean a Xen guest can run on > bare metal? Yes. See the Xen code for running the kernel in ring0 with Xen (supervisor_mode_kenel). The hypercall_page is conditionally filled with hypercall traps or direct calls basically. > Is there code available to make this work (it doesn't seem contained in > this patchset)? Has any performance analysis been done? I don't have any numbers. > The numbers that have been posted with the VMI patches suggest that some > rather tricky stuff is required to achieve native performance when > running a guest on bare metal. If this is not the case, it would be > very interesting to know because it seems to be the hairiest part of the > VMI patches. It is a hairy part of VMI. They've done a nice job of handling the native case, and have interseting plans for improving the non-native case (inline where possible). One of the differences is things that don't actually require hypercalls are already inline w/ Xen. So it's conceivable that the performance hit is smaller than what VMI found without carefully inlining native code. > Otherwise, if we want to support Xen guests on bare metal, it seems we > would have to change things in the subarch code a bit to do something > similar to VMI. It's a different approach. thanks, -chris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/