From owner-freebsd-xen@FreeBSD.ORG Sat Feb 12 09:00:42 2011 Return-Path: Delivered-To: freebsd-xen@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A45C6106566C; Sat, 12 Feb 2011 09:00:42 +0000 (UTC) (envelope-from snabb@epipe.com) Received: from tiktik.epipe.com (tiktik.epipe.com [IPv6:2001:1828:0:3::2]) by mx1.freebsd.org (Postfix) with ESMTP id 30B1E8FC14; Sat, 12 Feb 2011 09:00:42 +0000 (UTC) Received: from tiktik.epipe.com (tiktik.epipe.com [IPv6:2001:1828:0:3::2]) by tiktik.epipe.com (8.14.4/8.14.4) with ESMTP id p1C90f7r034493 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 12 Feb 2011 09:00:41 GMT (envelope-from snabb@epipe.com) X-DKIM: Sendmail DKIM Filter v2.8.3 tiktik.epipe.com p1C90f7r034493 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=epipe.com; s=default; t=1297501241; x=1298106041; bh=CW4d8lDKOzgum/fYMgC6KkvfhGVbPTrUMfsGrYjxfsc=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=AADcToeZSkAa9S8BzWH6xLGil9I/LhvTU4r1wT83zf+TyeMtztRk7XNWUnt5BYavq MPyakbMhyOCyW00rtN5W73nk1O9Q4treog7UBtlB8tQu9W7Mf/r6Jcxd0FoscXuJtZ 9/TF40JAV2G4nDLbvIntLZG6GwMQ7o2B5EE9uIbU= Date: Sat, 12 Feb 2011 09:00:41 +0000 (UTC) From: Janne Snabb To: "Justin T. Gibbs" In-Reply-To: <4D47514C.7090706@FreeBSD.org> Message-ID: References: <4D47514C.7090706@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.6 (tiktik.epipe.com [IPv6:2001:1828:0:3::2]); Sat, 12 Feb 2011 09:00:41 +0000 (UTC) Cc: freebsd-xen@FreeBSD.org Subject: Re: xn0: Error 2 parsing device/vif/0/mac [PATCH] X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2011 09:00:42 -0000 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@epipe.com - http://epipe.com/