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] How to use the PV driver for Linux HVM domU?

To: "Zhi Wang" <xenlando@xxxxxxxxx>
Subject: Re: [Xen-users] How to use the PV driver for Linux HVM domU?
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=IK2KsPL0r7pJ9CyqIbz4yycECXfvGHVv1OhdexoNoLg=; b=chd22UZJyThOZbPhIN144h97u1ULGMPJirzbnUbgwBe/fJDjLyT5N4QPBn/e2F1T8q HZcHe6FMM9bhLbPaKhSsqRWLySoUAzqQTynIjg6MazV6RaaO8sLt4zvKshjkruLWCU8h aJu0vzBn6ZWbg0DtIbcWY1Xr1fuJgXkj3D90U=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <27bfb7940810291032g18600227w84755469ff431c48@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <27bfb7940810282007x69974475l114af1ed535a1041@xxxxxxxxxxxxxx> <20081029055935.GM6796@xxxxxxxxxxxxxxx> <27bfb7940810291032g18600227w84755469ff431c48@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>