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: "Pasi Kärkkäinen" <pasik@xxxxxx>
Subject: Re: [Xen-users] How to use the PV driver for Linux HVM domU?
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
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=aIUDZYy4tf3cEPbZzLCc966gOCdw2r8Vz/6ITWNEpG8=; b=eysmBAdsKTjbXlufexLnToCcMCI9lOxHUgZu04K62EQlQifhSVUSbWa71g57Rm2T4V ViFR5sPUJtfO6bEC4mUK+zeTpn1RoX2n0itQCU3E3wCbYCCoMyVM/KVAc7QZf02bboAG DOaSgkqSxO5rz0mCZKlYuRfVZu+UcFoyx7elg=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20081029055935.GM6796@xxxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>