xn0: Error 2 parsing device/vif/0/mac [PATCH]

Janne Snabb snabb at epipe.com
Sat Feb 12 09:00:42 UTC 2011


On Mon, 31 Jan 2011, Justin T. Gibbs wrote:

[..]
> but Xend populates the MAC node in the frontend's tree
> unless the "ioemu" tag is in the VIF configuration line for that interface.
> Why this is the case, I have no idea - again the behavior is not documented.

You are indeed correct.

When I change:

vif = [ 'type=ioemu, bridge=br0' ]

...to:

vif = [ 'bridge=br0' ]

...in the configuration file for my FreeBSD XENHVM domU, the mac
node magically appears on the front-end side:

# xenstore-read device/vif/0/mac
00:16:3e:69:3e:99

...and thus my patch becomes irrelevant. This is confusing.
Especially because all the example configurations shipped with Xen
have 'type=ioemu' in their vif definitions.

I'll update the PR to include this workaround.

--
Janne Snabb / EPIPE Communications
snabb at epipe.com - http://epipe.com/


More information about the freebsd-xen mailing list