From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IDRuE-0005hS-Ob for qemu-devel@nongnu.org; Tue, 24 Jul 2007 17:26:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IDRuC-0005hG-5X for qemu-devel@nongnu.org; Tue, 24 Jul 2007 17:26:57 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IDRuB-0005hD-Se for qemu-devel@nongnu.org; Tue, 24 Jul 2007 17:26:55 -0400 Received: from volumehost.com ([69.150.104.236]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1IDRuB-0000o7-GG for qemu-devel@nongnu.org; Tue, 24 Jul 2007 17:26:55 -0400 Date: Tue, 24 Jul 2007 16:24:59 -0500 From: risc@volumehost.com Message-ID: <20070724212459.GS4797@volumehost.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] -disk patch Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org the attached patch is a re-hash of the old "-disk" patch against current CVS. things it does(on X86): adds a "-disk scsi,hba=ADAPTER_NO,id=SCSI_ID,img=DISK_IMAGE,type=disk" syntax, for specifying scsi devices. supports the old -hd[a-d] arguments. supports using -cdrom twice, creating two cdrom devices on the second IDE channel. supports multiple adapters. i coded for four, but can only get 3 working under linux, due to the driver in linux not supporting sharing the IRQ. things it dosent do: bochbios and linuxbios don't support booting off of a scsi disk. -cdrom can't create a device on the primary controller. i'm suspecting irq routing, or somesuch. the scsi driver still dosent support devices [8..15]. with this patch, i'm running a qemu session with one IDE disk, two cdroms, and 21[!] scsi disks. comments, suggestions, etc welcome. Julia Longtin