[SRU precise] [PATCH 0/5] LP#1079084 -- fix Hyper-V disk/CD support

Colin Ian King colin.king at canonical.com
Wed Dec 5 10:44:05 UTC 2012

On 05/12/12 10:30, Andy Whitcroft wrote:
> Hyper-V is moving the CD connectivity from the emulated ATA devices to
> virtualised disks.  To support CDs in both places we need to bring the
> Hyper-V ata_piix modifications up to the mainline versions.  With these
> in place the images should boot in both old and new Hyper-V environments.
> These have been tested by the Cloud Team and indicate that they correctly
> locate the CD drive on the virtual channels:
>      [    1.288778] ata2.00: ATAPI: Virtual CD, , max MWDMA2
> The following patch set drops the existing UBUNTU SAUCE for this and
> pulls in the upstreamed fixes, it then reinstates the manual overrides
> (just in case).
> -apw
> Andy Whitcroft (5):
>    Revert "UBUNTU: SAUCE: ata_piix: add a disable_driver option"
>    Revert "UBUNTU: SAUCE: ata_piix: defer disks to the Hyper-V drivers
>      by default"
>    libata: add a host flag to ignore detected ATA devices
>    ata_piix: defer disks to the Hyper-V drivers by default
>    UBUNTU: SAUCE: ata_piix: add a disable_driver option
>   drivers/ata/ata_piix.c    |   67 +++++++++++++++++++++++++--------------------
>   drivers/ata/libata-core.c |    6 ++++
>   include/linux/libata.h    |    1 +
>   3 files changed, 44 insertions(+), 30 deletions(-)

This is limited to Hyper-V environments and affects just one driver, so 
this is effectively a zero regression risk on non-Hyper-V platforms.

Looks sane to me.

Acked-by: Colin Ian King <colin.king at canonical.com>

More information about the kernel-team mailing list