]> git.proxmox.com Git - qemu.git/commit
ahci: Don't allow creating slave drives
authorKevin Wolf <kwolf@redhat.com>
Mon, 6 May 2013 13:58:04 +0000 (15:58 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 8 May 2013 13:28:49 +0000 (15:28 +0200)
commit0ee20e665840d8a887c145b368ee121cb86a028e
tree6908ec6f1357c52a71c71896699e7e03ce8d0496
parent15d23fb96656b1ae31bf4305b2108230c29298c6
ahci: Don't allow creating slave drives

An IDE bus provided by AHCI can only take a single IDE drive. If you add
a drive as slave, qemu used to accept the command line but the device
wouldn't be actually usable. Catch the situation instead and error out.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/ahci.c
hw/ide/cmd646.c
hw/ide/internal.h
hw/ide/isa.c
hw/ide/macio.c
hw/ide/mmio.c
hw/ide/piix.c
hw/ide/qdev.c
hw/ide/via.c