Re: [kvm-commits] Revert "kvm: qemu: initialize ata ports as enabled"

Gregory Haskins
2007-07-18T12:59:13Z

On Wed, 2007-07-18 at 15:42 +0300, Avi Kivity wrote:
>
>
> Good question. I initially guessed that when the bios turns them on, it
> does other things as well, but that's not the case.

Ah, I was wondering that myself.

I noticed from Dave's diffed dmesg output that you do see the PIIX
driver reporting the ports disabled in one case, and enabled in the
other. I also see that the drives still show up later in the dmesg
output regardless of the PIIX report, and that the hdparam tool shows
them with different DMA settings.

What I am wondering is if there is a way to see which driver actually
published that information to ide-core? (Is this available in something
like sysfs?). We have been assuming that the only difference is dma
mode enabled/disabled, but I am still wondering if a different driver
loaded all together.

-Greg