[Qemu-devel] Re: Commit 622b520f changed -drive if=scsi, index=N, intentional?

2011-01-27 Thread Kevin Wolf
Am 27.01.2011 13:10, schrieb Markus Armbruster: Consider -drive if=scsi,index=12,... Before the commit, index=12 meant bus=1,unit=5. Example: [...] Two scsi-buses, and scsi1-cd5 with scsi-id 5 is on the second one, i.e. bus=1, unit=5. After the commit, it means

[Qemu-devel] Re: Commit 622b520f changed -drive if=scsi, index=N, intentional?

2011-01-27 Thread Paolo Bonzini
On 01/27/2011 01:10 PM, Markus Armbruster wrote: Consider -drive if=scsi,index=12,... Before the commit, index=12 meant bus=1,unit=5. Example: $ qemu-system-x86_64 -nodefaults -vnc :0 -S -monitor stdio -drive if=scsi,index=12,media=cdrom QEMU 0.13.50 monitor - type 'help' for

[Qemu-devel] Re: Commit 622b520f changed -drive if=scsi, index=N, intentional?

2011-01-27 Thread Markus Armbruster
Kevin Wolf kw...@redhat.com writes: Am 27.01.2011 13:10, schrieb Markus Armbruster: Consider -drive if=scsi,index=12,... Before the commit, index=12 meant bus=1,unit=5. Example: [...] Two scsi-buses, and scsi1-cd5 with scsi-id 5 is on the second one, i.e. bus=1, unit=5.

Re: [Qemu-devel] Re: Commit 622b520f changed -drive if=scsi, index=N, intentional?

2011-01-27 Thread Gerd Hoffmann
Hi, } else if (!strcmp(buf, scsi)) { type = IF_SCSI; -max_devs = MAX_SCSI_DEVS; +max_devs = 7; That's very obviously not much more than a hack, but I don't think blockdev.c can get the real number easily (please prove me wrong). With this

Re: [Qemu-devel] Re: Commit 622b520f changed -drive if=scsi, index=N, intentional?

2011-01-27 Thread Hannes Reinecke
On 01/27/2011 08:26 PM, Gerd Hoffmann wrote: Hi, } else if (!strcmp(buf, scsi)) { type = IF_SCSI; -max_devs = MAX_SCSI_DEVS; +max_devs = 7; That's very obviously not much more than a hack, but I don't think blockdev.c can get the real