From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Xen 4.1.2 PVHVM guest with Linux 3.1.0 network problem, empty MAC address (all zeroes) Date: Mon, 31 Oct 2011 22:51:34 +0200 Message-ID: <20111031205134.GE12984@reaktio.net> References: <20111031201336.GD12984@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: <20111031201336.GD12984@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: xen@lists.fedoraproject.org List-Id: xen-devel@lists.xenproject.org On Mon, Oct 31, 2011 at 10:13:36PM +0200, Pasi Kärkkäinen wrote: > Hello, > > While testing Fedora 16 Xen PVHVM guests I noticed the following problem: > > When starting F16 PVHVM guest I can see the vifX.0 and tapX.0 interfaces appear on dom0, > but after the guest kernel (Linux 3.1.0) starts and loads PVHVM drivers the > vif/tap interfaces disappear from dom0.. > so the bridge in dom0 doesn't have any vifs/taps connected to it anymore. > > Has anyone seen that behaviour? > > I bet that's also the reason why eth0 inside the PVHVM guest > has a MAC address with only zeroes in it: 00:00:00:00:00:00. > > If I disable PVHVM with "xen_platform_pci=0" in the domain cfgfile > then network for the guest works OK using the qemu-dm emulated nic. > > PVHVM guest cfgfile: > > > Some output from inside the PVHVM guest: > > # ifconfig eth0 > eth0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 > BROADCAST MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > > > Full PVHVM guest kernel (Linux 3.1.0) dmesg attached to this email. > Some parts of the guest dmesg here: > > $ egrep -i 'xen|vif' xen-4.1.2-f16pvhvm-linux-3.1.0-dmesg.txt > > > dom0 kernel (Linux 3.1.0 aswell) messages: > > > > "xm log" doesn't have any errors. > Any ideas how to fix this? Why do the vif/tap devices disappear from dom0? > Well.. it was actually as simple as removing "type=ioemu" from the vif line. Working vif-example for Xen PVHVM Linux guest VM: vif = [ 'mac=00:16:5f:03:01:15, bridge=virbr0, model=e1000' ] So uhm.. when enabling PVHVM there's no need to modify the disk line, but you need to modify the vif-line.. is that like it should be ? -- Pasi