From owner-freebsd-virtualization@FreeBSD.ORG Wed Oct 2 16:17:19 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 14A25F91 for ; Wed, 2 Oct 2013 16:17:19 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 79F08256E for ; Wed, 2 Oct 2013 16:17:18 +0000 (UTC) Received: by mail-lb0-f170.google.com with SMTP id w7so965418lbi.29 for ; Wed, 02 Oct 2013 09:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=WFTTqntvGg+5en6R8Gh+O9nhD0rjWdRGWoG/1Dq4rDY=; b=eDR688zs7bseiQaEXFh1CRJgiKmSXv397mU+I9BR84eEizNcIx4eoHDl+Py741wewq ZfrpEGRbNGblNA0p+LMzgZVn42MYgkHNyWIZe3KjQhROB7Pw0ddDjFHWIQMKHtXFIiZ1 72JKTeidFeizYHM+vHeKHswBKyc9VVX+C9ovW6KyaLkeTcUyyNa9iXR/R3elhO4EpPlc HnHR6e3BXSPhDNRnpVb47PfPne3T2W3Z+0LbH4bmLkqoD+BWfV1rPsuyKFqvLs/v1XjK IRIOrjAD5cq82KlB+NYhlc8xsdjNNHm9SaptZ0kz3EmBj4gIVqcB8ZqO/Yt9stJlLXug b55g== MIME-Version: 1.0 X-Received: by 10.152.22.35 with SMTP id a3mr1814513laf.45.1380730636421; Wed, 02 Oct 2013 09:17:16 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.168.136 with HTTP; Wed, 2 Oct 2013 09:17:16 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 Oct 2013 09:17:16 -0700 X-Google-Sender-Auth: dojP8Mym10ZEcIRW-tlgkw2yieI Message-ID: Subject: Re: Disabling ATA driver for IDE devices on Hyper-V From: Craig Rodrigues To: "Abhishek Gupta (LIS)" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" 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: Wed, 02 Oct 2013 16:17:19 -0000 Hi, There was some discussion between Larry Melia and Alexander Motin on this and related topics a few months ago. Here are some relevant threads: http://lists.freebsd.org/pipermail/freebsd-virtualization/2013-April/001180.html http://lists.freebsd.org/pipermail/freebsd-virtualization/2013-May/001281.html http://lists.freebsd.org/pipermail/freebsd-virtualization/2013-June/001297.html If you are continuing Larry's work, and can get feedback from Alexander, that would be great. -- Craig On Mon, Sep 30, 2013 at 2:02 PM, Abhishek Gupta (LIS) wrote: > 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 > suggestions 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 manage CDROMs. What we would like to do is disable the ATA driver > for all device 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 > put in selective disabling? > > b) Is this a good approach? Is there something cleaner you can think > of? > > As of now we have implemented a disengage driver that disables ATA driver > permanently on Hyper-V. However this is less than desirable and we are > looking for a better solution. Please let us know if you have some thoughts. > > Thanks, > Abhishek > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" >