Skip to contentSkip to conversation

-disk patch

Qemu-devel [email protected] 1 participant 1 message Jul 24, 2007

lore
Share & tools
lore
#0 lore raw

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 <[email protected]>