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

[Xen-users] Bridging DomUs using Driver Domain

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Bridging DomUs using Driver Domain
From: Jason Sonnek <jsonnek@xxxxxxxxx>
Date: Wed, 19 Jan 2011 13:26:17 -0600
Delivery-date: Wed, 19 Jan 2011 11:28:29 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=l+rAVS/jJnh5HW+ejR4QbEJo1WN8KgzGJ/U08ftfGQY=; b=khhNaS/nBi0bVyV0xm4uJCTPEmx8iZyH6TiMrcxGU4j5iMGeZaJW/bOzRnQDNvnYXW pL2251HreZCtEg4fvTV6bMZzBQV0bGtFiv7YfDYiNZD1FndPBNb+gQQnL4CbAthMAoGf hRwK7XR0QcxTcMpq57oI+avGHv5eu2zGuUY28=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=FEg6aOD5jCggdpxLd0X7XSFSjRWGV3nNxyAsXVy1t73wpjwFsKUY03UKVV/fvAbd1F m11VMqYDRxFuKbY8WI+5Sys1Nf5SS/C7rTwjoLms7IOCpidTNZpv1cX9wxHf3erWBzot JvslVRUCQhYa3Sjsg2USndRKh9J5hYRp/naKI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

I'm trying to bridge two HVM DomUs using a bridge hosted in a driver domain (rather than in Dom0) in Xen 4.0.1. I've succeeded in doing this using PV guests on Xen 4.0.1, and using HVM guests on Xen 3.3, but it doesn't work in Xen 4.0.1.

The vif specification in my HVM guest configuration file looks like so:

# virtual interface on driver-domain bridge
vif=[ 'mac=00:16:3e:69:2a:33,backend=driver-domain,bridge=br1,model=rtl8139']

When I start domain Y with front-end virtual interface ethX, I see the corresponding backend virtual interface vifY.X attached to br1 in the driver domain, so the vif-bridge/hotplug scripts in the driver domain appear to be doing the right thing:

driver-domain:~ # brctl show
bridge name    bridge id        STP enabled    interfaces
br1                 8000.feffffffffff             no        vif20.0
                                                                     vif26.1
                                                                     vif26.2

However, packets originating at (for instance) eth2 on Domain 26 never arrive on vif26.2. If I run 'xm network-list 26', I see:

Idx BE     MAC Addr.     handle state evt-ch tx-/rx-ring-ref BE-path
0   0  00:16:3e:58:5d:24    0     1      -1    -1   /-1      /local/domain/0/backend/vif/26/0 
1   18 00:16:3e:60:20:11    1     1      -1    -1   /-1      /local/domain/18/backend/vif/26/1 
2   18 00:16:3e:62:10:be    2     1      -1    -1   /-1      /local/domain/18/backend/vif/26/2 

Since the interface state is 1 (initializing) and the event channel and tx/rx-rings are all -1 (invalid), this strongly suggests that the virtual interface initialization is failing. However, there are no messages in the qemu-dm.log or the xend.log that offer any clues to me.

Any suggestions? I've been at this for a while, so I have voluminous debugging data if it would help anyone, but I don't want to post a bunch of useless logs.

Thanks!

Jason





_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Bridging DomUs using Driver Domain, Jason Sonnek <=