From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: AHCI? Date: Sun, 05 Apr 2009 18:56:45 +0300 Message-ID: <49D8D4BD.4000303@redhat.com> References: <84fb38e30904042030s5fa1b80exff8f45c165188b77@mail.gmail.com> <49D89B02.2090303@redhat.com> <84fb38e30904050753n361bd112i54b58202ab84be15@mail.gmail.com> <49D8D0CB.70908@redhat.com> <84fb38e30904050854j2c94acf3wb3c622463f825f71@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: tsuraan Return-path: Received: from mx2.redhat.com ([66.187.237.31]:42515 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751024AbZDEP4u (ORCPT ); Sun, 5 Apr 2009 11:56:50 -0400 In-Reply-To: <84fb38e30904050854j2c94acf3wb3c622463f825f71@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: tsuraan wrote: >> I see. That sucks. >> > > Yeah... Is there any reason that kvm is hard-coded to only allow 4 > IDE devices? Is it an issue with the BIOS implementation, or is it > just a random limit? If there's some macro somewhere that defines > NUM_IDE to 2, and I could change that to 5, then I'd be perfectly > happy; I don't really care about SCSI vs. IDE, I just want to be able > to use 9 drives with kvm instead of the 4 that I'm currently able to > access. > If you want that and good performance too write a virtio driver, and use virtio disk instead of IDE or SCSI. I don't think the IDE implementation in qemu supports more than four disks, that's an IDE limitation. No doubt it could be worked around by adding more IDE controllers, it's probably not a lot of code but quite tricky. -- error compiling committee.c: too many arguments to function