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

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

On Thu, Nov 22, 2007 at 03:57:23PM +0100, Emre Erenoglu wrote:
> >
> > > 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.

This standard paravirtualization layer/support is called "paravirt ops" in 

"paravirt ops" is then implemented for Xen, VMI, KVM, Lguest etc..

> 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...

No, HVM PV drivers are not included with the vanilla kernel, you need to
obtain and load them separately. 

> >
> > 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.

What dom0 distribution are you using? 

Are xen/kernel packages provided by the distribution or self compiled? 

What is your domU distribution? Is the domU PV kernel from the
distribution, or self compiled? 

PV domU is the most common type of virtual machine on Xen, and it definitely
works fine as long as you're running matching/compatible versions of Xen and
> >
> >
> > 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?


Usually you need to edit/recreate your initrd to load these modules during
the domU bootup.

-- Pasi

Xen-users mailing list



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