WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] PV Drivers in Linux HVM DomU?

To: "Pasi Kärkkäinen" <pasik@xxxxxx>
Subject: Re: [Xen-users] PV Drivers in Linux HVM DomU?
From: "Emre Erenoglu" <erenoglu@xxxxxxxxx>
Date: Thu, 22 Nov 2007 15:57:23 +0100
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 22 Nov 2007 06:58:11 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=bnN7cUSxR1wU+TZ91nSGb5fcpZWGaOdtPeRpapY6d0g=; b=kBaaUHDNzYxU8+B9wTm0Mj+L7vwl8KCBJXlBR1zAqG418Cn76wNWl6CmbgtkUZHIGKv2XPXhAWSYbZjwIDcOhUcqxoUMLt/NYSKpVtdMrG0jP86yQGxqwpHAHZieKRt5FkU/zeXrPiwlRBpJ9l7SYO8sUvu2AHd1/yg/YYYhjnk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ZGMrs9oCDKoAyDFPFYyme9qcOkQVGQG7ABW6KDd+t2XKAoKUEO3bW4EzHc6a0iLN5LtVnRyw61pdsBH96ESXtaEkhYM1cnJ5Muc2jUqtXQx5IJ1jhxPl++qyG7G3l8k53v4MCByZAxrJzD4PiXz3NWkgihZzNTtsMpdqGTJE5hE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071122143518.GC17677@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <fe9771a80711220447l11c4e824g27592fa3cc370378@xxxxxxxxxxxxxx> <20071122143518.GC17677@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Pasi, comments below:

On Nov 22, 2007 3:35 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
On Thu, Nov 22, 2007 at 01:47:06PM +0100, Emre Erenoglu wrote:
> Hi,
>
> Is it possible to use HVM (full virtualization) for Linux guests but use PV
> drivers instead inside the DomU for extra performance?
>

Yes.

OK


> What shall I do to be able to do it? Where can I download these drivers for
> several standard kernels? (HVM domU = standard distribution kernel,
> not-xen-aware)
>

You can download xen source tree and compile "unmodified drivers" from
there, or you can use the ones distributed with your distribution, if
available.

OK, I will do that. I don't think my distribution has these drivers as a package.


> Or, does the recent introduction of VMI into the linux kernel make this
> automatic for us? i.e. if I use any recent kernel, such as Ubuntu's
> 2.6.22-14-generic, will paravirtualized disk/network drivers be
> automatically activated?
>

VMI is VMware's interface to run paravirtual Linux on VMware. It doesn't
work or help at all with Xen.

Well maybe I stated wrong, i was mentioning VMI (or whatever function it is) as a common way to enable standard kernels to work as Paravirtual when they detect the presence of a hypervisor. I think this is now standard for all, including VMWare and XEN.
FYI, it is possible to boot a 2.6.23 vanilla kernel as paravirtual DomU, but my question was if the paravirtual drivers were already there if I use HVM instead of Paravirtualization. I hope I mentioned it right...



If you're running paravirtual linux on xen, you already have paravirtualized
("full speed") drivers in use.

Yes,  however, my DomU crashes on boot with the PV kernel. I couldn't find why.


If you're using HVM domU on Xen, then you need to install Xen PV drivers on
domU.

-- Pasi

Thanks, just one last question, when I compile and modprobe these PV modules, how can I understand that they are actually working?   Do they print some message in dmesg?

Regards,

Emre

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users