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

[Xen-users] could not get IP address for the interface created by netfront driver on HVM guest


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: veerasena reddy <veeruyours@xxxxxxxxx>
  • Date: Sun, 19 Jun 2011 01:46:43 +0530
  • Delivery-date: Sat, 18 Jun 2011 13:18:13 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QPZf8xJj7HuYti/Jy3UDO+5C8nHLvvMkbDIsoa0X11W15bzCcJ88iWq4lnxCnognml 3eYMyly+IzTD7C1O4P/LzGpWGHOrJmPXd+CjDhlkVy9UkCWwvMbhjb5FQZEqTDj2+/KV gtzrNT/AsdscZDfdyKrmQkbjl4lGMRPf+L4O8=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

I am trying to run PV drivers on my HVM guest.
For this, I have compiled 2.6.35.9 kernel downloaded from kernel.org + the PV-on-HVM drivers patch "pvdrivers.20100509-1955.patch" downloaded from http://blog.alex.org.uk/2010/05/09/linux-pv-drivers-for-xen-hvm-building-normally-within-an-arbitrary-kernel-tree/.
During compilation i disabled "Paravirtualized Guest Support" (and so "CONFIG_XEN" got disabled) and enabled only "XEN pvdrivers" from the patch.

The installation of the VM was done using "virt-manager" graphical utility.
After the installation of VM and the new kernel with PV drivers compiled/installed on HVM guest, I shutdown the VM, closed the virt-manager, changed the "vif" configuration in /var/lib/xend/domains/<UUID>/config.sxp to "(type netfront)" as below:
    (device
        (vif
            (bridge virbr0)
            (uuid 50c7ccfd-45a7-61df-e94b-52bea67d3ee0)
            (script /etc/xen/scripts/vif-bridge)
            (mac 00:16:36:30:24:8a)
            (type netfront)
            (backend 0)
        )
    )

Then, xend was restarted and virt-manager is restarted and the HVM guest is started.
The HVM guest boots fine, all the PV drivers are loaded (balloon, vbd, vnif, platform-pci), network interface is created (also observed Tx/Rx counters increasing) but it never got IP addresses which otherwise could get in pure HVM mode. ethtool -i eth0 on the HVM guest shows netfront is the driver for the interface.

Could you please help me, if I missed something in configuring netfront device assignment to HVM guest.

Thanks & Regards,
VSR.


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