[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "Pasi Kärkkäinen" <pasik@xxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.