From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 30 21:03:07 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4CF77197 for ; Mon, 30 Sep 2013 21:03:07 +0000 (UTC) (envelope-from abgupta@microsoft.com) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0244.outbound.protection.outlook.com [207.46.163.244]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0C7142560 for ; Mon, 30 Sep 2013 21:03:06 +0000 (UTC) Received: from BL2PR03MB210.namprd03.prod.outlook.com (10.255.230.144) by BL2PR03MB212.namprd03.prod.outlook.com (10.255.230.151) with Microsoft SMTP Server (TLS) id 15.0.785.10; Mon, 30 Sep 2013 21:02:59 +0000 Received: from BL2PR03MB210.namprd03.prod.outlook.com ([169.254.1.122]) by BL2PR03MB210.namprd03.prod.outlook.com ([169.254.1.122]) with mapi id 15.00.0785.001; Mon, 30 Sep 2013 21:02:59 +0000 From: "Abhishek Gupta (LIS)" To: "freebsd-virtualization@freebsd.org" Subject: Disabling ATA driver for IDE devices on Hyper-V Thread-Topic: Disabling ATA driver for IDE devices on Hyper-V Thread-Index: Ac6+IC1SIzkXAqfxQK27OEWB/yp/tw== Date: Mon, 30 Sep 2013 21:02:58 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2001:4898:80e8:ee31::2] x-forefront-prvs: 0985DA2459 x-forefront-antispam-report: SFV:NSPM; SFS:(164054003)(199002)(189002)(81542001)(81342001)(81816001)(51856001)(76482001)(81686001)(46102001)(79102001)(54316002)(56776001)(80022001)(65816001)(16236675002)(53806001)(19300405004)(74316001)(69226001)(4396001)(59766001)(77982001)(63696002)(50986001)(47736001)(47976001)(15975445006)(49866001)(74366001)(56816003)(77096001)(83322001)(19580395003)(33646001)(76786001)(76796001)(83072001)(76576001)(74706001)(31966008)(74662001)(80976001)(54356001)(15202345003)(76176001)(47446002)(74502001)(74876001)(3826001)(24736002); DIR:OUT; SFP:; SCL:1; SRVR:BL2PR03MB212; H:BL2PR03MB210.namprd03.prod.outlook.com; CLIP:2001:4898:80e8:ee31::2; FPR:; RD:InfoNoRecords; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-OriginatorOrg: DuplicateDomain-a84fc36a-4ed7-4e57-ab1c-3e967bcbad48.microsoft.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Mon, 30 Sep 2013 21:03:07 -0000 Hi folks, This may have been asked before but the solution we have currently is less = than ideal. Please bear with me on the repetition and provide any suggestio= ns you may have. One of the issues with Hyper-V is that it does not virtualize the CD device= and therefore we rely on the ATA driver in the guest operating system to m= anage CDROMs. What we would like to do is disable the ATA driver for all de= vice types except the CDROM in the presence of Hyper-V. Can someone help us= in answering the following in this regard: a) What is the correct location in the FreeBSD ATA code where we can p= ut in selective disabling? b) Is this a good approach? Is there something cleaner you can think o= f? As of now we have implemented a disengage driver that disables ATA driver p= ermanently on Hyper-V. However this is less than desirable and we are looki= ng for a better solution. Please let us know if you have some thoughts. Thanks, Abhishek