Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2013 21:02:58 +0000
From:      "Abhishek Gupta (LIS)" <abgupta@microsoft.com>
To:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Disabling ATA driver for IDE devices on Hyper-V
Message-ID:  <d148743cd43c43bd9c24c315d4632057@BL2PR03MB210.namprd03.prod.outlook.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d148743cd43c43bd9c24c315d4632057>