[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: "Zhi Wang" <xenlando@xxxxxxxxx>
  • From: "Emre Erenoglu" <erenoglu@xxxxxxxxx>
  • Date: Wed, 29 Oct 2008 23:11:29 +0100
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 29 Oct 2008 15:12:15 -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=bFoHj/NHoX+s6y6JO+kO2A3eN8rl2lALFYp1DJUPaoYQLjpGYXv+OAJ0313ZYoHyA9 SmeVApW6cmSUYm0cAvzwf6HWkM6xMc6RdtZnfwrZgTjU5tDXfKiFtIDUryMTmKQ6Y5qY wm2hynwiKMxr3k4++2shfQnJWU6YdoyLydGX4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

On Wed, Oct 29, 2008 at 6:32 PM, Zhi Wang <xenlando@xxxxxxxxx> wrote:
I think virtio is supposed to support both Xen and KVM, in the future probably.

As far as I know,  virtio drivers are only for KVM and I use them daily for my KVM box.  For Xen HVM Domains. there are unmodified_drivers in the xen kernel source, if you're lucky enough to get them working in a recent kernel.

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
>

I succeeded using Pardus distribution as a HVM DomU with the unmodified_drivers on top of Ubuntu dom0, but the distro itself was also based on 2.6.18 kernel. I didn't succeed with anything recent.  For it to work, your network type hall be "netfront" in your config file.

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