Re: [Qemu-devel] [PATCH] ahci: Don't allow creating slave drives

2013-05-08 Thread Stefan Hajnoczi
On Mon, May 06, 2013 at 04:02:58PM +0200, Kevin Wolf wrote: > 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

[Qemu-devel] [PATCH] ahci: Don't allow creating slave drives

2013-05-06 Thread Kevin Wolf
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 --- hw/ide/ahci.c | 2 +- hw/ide/cmd646.c | 2 +