From owner-freebsd-virtualization@FreeBSD.ORG Thu Jan 24 15:01:54 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 71C13E9F for ; Thu, 24 Jan 2013 15:01:54 +0000 (UTC) (envelope-from v-lamel@microsoft.com) Received: from na01-bl2-obe.outbound.protection.outlook.com (na01-bl2-obe.ptr.protection.outlook.com [65.55.169.27]) by mx1.freebsd.org (Postfix) with ESMTP id 0A0EDD73 for ; Thu, 24 Jan 2013 15:01:53 +0000 (UTC) Received: from BL2FFO11FD013.protection.gbl (10.173.161.204) by BL2FFO11HUB019.protection.gbl (10.173.160.111) with Microsoft SMTP Server (TLS) id 15.0.596.13; Thu, 24 Jan 2013 14:52:12 +0000 Received: from TK5EX14HUBC103.redmond.corp.microsoft.com (131.107.125.37) by BL2FFO11FD013.mail.protection.outlook.com (10.173.160.221) with Microsoft SMTP Server (TLS) id 15.0.596.13 via Frontend Transport; Thu, 24 Jan 2013 14:52:11 +0000 Received: from ch1outboundpool.messaging.microsoft.com (157.54.51.113) by mail.microsoft.com (157.54.86.9) with Microsoft SMTP Server (TLS) id 14.2.318.3; Thu, 24 Jan 2013 14:51:46 +0000 Received: from mail25-ch1-R.bigfish.com (10.43.68.243) by CH1EHSOBE015.bigfish.com (10.43.70.65) with Microsoft SMTP Server id 14.1.225.23; Thu, 24 Jan 2013 14:51:22 +0000 Received: from mail25-ch1 (localhost [127.0.0.1]) by mail25-ch1-R.bigfish.com (Postfix) with ESMTP id 8E7A83A01E2 for ; Thu, 24 Jan 2013 14:51:22 +0000 (UTC) X-Forefront-Antispam-Report-Untrusted: CIP:157.56.240.21; KIP:(null); UIP:(null); (null); H:BL2PRD0310HT003.namprd03.prod.outlook.com; R:internal; EFV:INT X-SpamScore: 1 X-BigFish: PS1(zzc85fh1443Izz1ee6h1de0h1202h1e76h1d1ah1d2ahzz18c673hz31h2a8h668h839hd24hf0ah1288h12a5h12bdh137ah1441h1504h1537h153bh162dh1631h1758h18e1h9a9j1155h) Received-SPF: softfail (mail25-ch1: transitioning domain of microsoft.com does not designate 157.56.240.21 as permitted sender) client-ip=157.56.240.21; envelope-from=v-lamel@microsoft.com; helo=BL2PRD0310HT003.namprd03.prod.outlook.com ;.outlook.com ; X-Forefront-Antispam-Report-Untrusted: SFV:SKI; SFS:; DIR:OUT; SFP:; SCL:-1; SRVR:BY2PR03MB073; H:BY2PR03MB058.namprd03.prod.outlook.com; LANG:en; Received: from mail25-ch1 (localhost.localdomain [127.0.0.1]) by mail25-ch1 (MessageSwitch) id 1359039080764805_22138; Thu, 24 Jan 2013 14:51:20 +0000 (UTC) Received: from CH1EHSMHS034.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.233]) by mail25-ch1.bigfish.com (Postfix) with ESMTP id B743F4601B7; Thu, 24 Jan 2013 14:51:20 +0000 (UTC) Received: from BL2PRD0310HT003.namprd03.prod.outlook.com (157.56.240.21) by CH1EHSMHS034.bigfish.com (10.43.70.34) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 24 Jan 2013 14:51:20 +0000 Received: from BY2PR03MB073.namprd03.prod.outlook.com (10.255.241.153) by BL2PRD0310HT003.namprd03.prod.outlook.com (10.255.97.38) with Microsoft SMTP Server (TLS) id 14.16.257.4; Thu, 24 Jan 2013 14:51:20 +0000 Received: from BY2PR03MB058.namprd03.prod.outlook.com (10.255.241.150) by BY2PR03MB073.namprd03.prod.outlook.com (10.255.241.153) with Microsoft SMTP Server (TLS) id 15.0.601.3; Thu, 24 Jan 2013 14:51:15 +0000 Received: from BY2PR03MB058.namprd03.prod.outlook.com ([169.254.10.140]) by BY2PR03MB058.namprd03.prod.outlook.com ([169.254.10.140]) with mapi id 15.00.0601.000; Thu, 24 Jan 2013 14:50:54 +0000 From: "Larry Melia (Insight Global)" To: "freebsd-virtualization@freebsd.org" Subject: Getting enlightened drivers to load only when Hyper-V (or Azure) is detected Thread-Topic: Getting enlightened drivers to load only when Hyper-V (or Azure) is detected Thread-Index: AQHN+kG7lw4fuvn73EKJWFXKQjCB0g== Date: Thu, 24 Jan 2013 14:50:54 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [24.16.26.114] MIME-Version: 1.0 X-OrganizationHeadersPreserved: BY2PR03MB073.namprd03.prod.outlook.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% X-FOPE-CONNECTOR: Id%59$Dn%FREEBSD.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn% X-FOPE-CONNECTOR: Id%59$Dn%NETAPP.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn% X-CrossPremisesHeadersPromoted: TK5EX14HUBC103.redmond.corp.microsoft.com X-CrossPremisesHeadersFiltered: TK5EX14HUBC103.redmond.corp.microsoft.com X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(189002)(51874002)(199002)(54316002)(54356001)(33646001)(76482001)(63696002)(16236675001)(74662001)(44976002)(47446002)(74502001)(56816002)(59766001)(77982001)(46102001)(31966008)(6806001)(512954001)(4396001)(16676001)(53806001)(47736001)(51856001)(56776001)(79102001)(50986001)(47976001)(49866001)(24736002); DIR:OUT; SFP:; SCL:1; SRVR:BL2FFO11HUB019; H:TK5EX14HUBC103.redmond.corp.microsoft.com; RD:; MX:1; A:1; LANG:en; X-OriginatorOrg: microsoft.onmicrosoft.com X-Forefront-PRVS: 073631BD3D Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Tom Hanrahan , "Abhishek Gupta \(LIS\)" , Nick Meier , Peter Grehan X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2013 15:01:54 -0000 We're preparing our Hyper-V, enlightened drivers to be included in the CURR= ENT build, but need some help with the loader configuration. The drivers sh= ould only load or remain resident when Hyper-V is present. On Linux, the in= staller program was modified to detect the presence of Hyper-V/Azure, and o= nly then are the Hyper-V drivers installed (starting with the VM Bus driver= ). What's the best way to do this on FreeBSD? Any help would be greatly app= reciated! Thanks in advance! Larry Melia Enlightened driver team for FreeBSD on Hyper-V