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

Re: [Xen-users] How to use the PV driver for Linux HVM domU?


  • To: "Pasi Kärkkäinen" <pasik@xxxxxx>
  • From: "Zhi Wang" <xenlando@xxxxxxxxx>
  • Date: Wed, 29 Oct 2008 13:32:18 -0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 29 Oct 2008 10:32:58 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=CKYENZR5vGb9GYXHTTa75UBLDmqN0SaRq8TyLqeZZN6R9n0mbu0ufBF4jkgTBwP+Si avqQzhZV5z5QW25KtDNEv375Pl3BgO9aXLOoKRYwPkiVeiKKgxk6AAvcj5xWPeZpjmto OPKPcalDGNGXgLzOX/wBXqTx14OWwYicB1Nxw=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I think virtio is supposed to support both Xen and KVM, in the future probably.

I tried the pv driver (xen-3.3.0/unmodified_driver/linux-2.6). I use 2.6.18.8 also
in the HVM domU. The PV network driver is OK. I compiled it, removed the old
8139cp driver, then insmod the xen-vnif.ko driver. I can still get online.
Xen-3.3.0's PV drivers have some difficult to build on the 2.6.27.3 kernel. I
didn't try other kernels.

On Wed, Oct 29, 2008 at 1:59 AM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
On Tue, Oct 28, 2008 at 11:07:59PM -0400, Zhi Wang wrote:
> Hi,
> I am trying to enable the PV driver for Linux HVM. dom0 is CentOS5.2, domU
> is a hvm Ubuntu server
> 8.04. I rebuild the kernel with 2.6.27.3, with all the unnecessary drivers
> removed. I noticed that there
> is a virtio driver for network/block device/balloon. I build these drivers
> as modules, and try to enable
> the virtio_net driver. I played with several combinations of vif=[...] but
> still no luck. Either there is no
> ethernet controller or it is the realtek 8139c. I am wondering if any one
> has some experience to enable
>  PV driver for a Linux HVM domU. Thanks
>

Hi.

I thought virtio drivers are for KVM, not for Xen.

You need Xen pv-on-hvm drivers..

-- Pasi

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