[PATCH 0/2] Hyper-V disk support V4

From: Andy Whitcroft
Date: Thu Apr 19 2012 - 10:33:25 EST


Add support for ignoring disks devices on specific host controllers to
libata. Use this support to trigger us to ignore Hyper-V disk devices
on the emulated SATA device based on the system DMI information.

I have cleaned up the Hyper-V detection so it is only included when the
paravirtualised drivers are enabled. I have also reintroduced the
override which had mysteriously gone missing in V3.

Comments?

-apw

V4
- only enable the quirk when the paravirtualised drivers are compiled
- fix up the command line flag to disable this support

V3
- switch detection method to DMI information

V2
- create a generic libata quirk
- switch detection to piix_init_one

Andy Whitcroft (2):
libata: add a host flag to ignore detected ATA devices
ata_piix: defer disks to the Hyper-V drivers by default

drivers/ata/ata_piix.c | 20 ++++++++++++++++++++
drivers/ata/libata-core.c | 7 +++++++
include/linux/libata.h | 1 +
3 files changed, 28 insertions(+)

--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/