From owner-freebsd-xen@FreeBSD.ORG Mon Oct 14 14:29:00 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B7E0F997; Mon, 14 Oct 2013 14:29:00 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from SMTP.CITRIX.COM (smtp.citrix.com [66.165.176.89]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D50C22C56; Mon, 14 Oct 2013 14:28:59 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.93,492,1378857600"; d="scan'208";a="63363279" Received: from accessns.citrite.net (HELO FTLPEX01CL03.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 14 Oct 2013 14:28:57 +0000 Received: from [IPv6:::1] (10.80.16.47) by smtprelay.citrix.com (10.13.107.80) with Microsoft SMTP Server id 14.2.342.4; Mon, 14 Oct 2013 10:28:56 -0400 Message-ID: <525BFFAD.4010208@citrix.com> Date: Mon, 14 Oct 2013 16:29:01 +0200 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Mark Felder Subject: Re: FreeBSD Alpha5 amd64 - Citrix Xen 6.2 problem References: <1381247394.22461.31501241.11EE316E@webmail.messagingengine.com> <8F3E4CEF-75BB-4F96-8512-87B21C5AC44E@shankerbalan.net> <525509C4.9010407@citrix.com> <1381319360.6600.31880785.6E83A2F9@webmail.messagingengine.com> <52555FF4.8010107@citrix.com> <1381329411.11572.31947565.7C2A280B@webmail.messagingengine.com> <849AB77F-D2E3-4BFB-B957-F9A9E53D1070@shankerbalan.net> <7B7BC687-3A64-4B3D-9F90-B73FC6938225@shankerbalan.net> <1381676322.11187.33436965.1BBB5473@webmail.messagingengine.com> <1381759048.14147.33785945.2DAF9556@webmail.messagingengine.com> In-Reply-To: <1381759048.14147.33785945.2DAF9556@webmail.messagingengine.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-DLP: MIA1 Cc: freebsd-xen@freebsd.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 14 Oct 2013 14:29:00 -0000 On 14/10/13 15:57, Mark Felder wrote: > Patching 9-STABLE with this applies cleanly, but I'm guessing the work > done with the restructuring so it fits in GENERIC is not permitting it > to build. > > > /usr/src/sys/dev/xen/blkfront/blkfront.c: In function 'blkfront_probe': > /usr/src/sys/dev/xen/blkfront/blkfront.c:405: warning: implicit > declaration of function 'xen_hvm_domain' > /usr/src/sys/dev/xen/blkfront/blkfront.c:405: warning: nested extern > declaration of 'xen_hvm_domain' [-Wnested-externs] > *** [blkfront.o] Error code 1 > > Stop in /usr/obj/usr/src/sys/XENHVM. > *** [buildkernel] Error code 1 > > Stop in /usr/src. > *** [buildkernel] Error code 1 > > Stop in /usr/src. Yes, the xen_hvm_domain function is not available in 9-STABLE, you should be able to replace the 'if' gate with a '#ifdef XENHVM .. #endif' (not pretty, but should do it's job). Roger.