Daniel P. Berrange
d78554d884
Specify bus/unit instead of index for disks with QEMU
...
The current code for using -drive simply sets the -drive 'index'
parameter. QEMU internally converts this to bus/unit depending
on the type of drive. This does not give us precise control over
the bus/unit assignment though. This change switches over to make
libvirt explicitly calculate the bus/unit number.
In addition bus/unit/index are actually irrelevant for VirtIO
disks, since each virtio disk is a separate PCI device. No disk
controller is involved.
Doing the conversion to bus/unit in libvirt allows us to correctly
attach SCSI controllers when required.
* src/qemu/qemu_conf.c: Specify bus/unit instead of index for
disks
* tests/qemuxml2argvdata/qemuxml2argv-disk*.args: Switch over from
using index=NNNN, to bus=NN, unit=NN for SCSI/IDE/Floppy disks
2010-01-15 17:55:59 +00:00
..
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-09-22 16:13:33 +01:00
2010-01-15 16:38:29 +00:00
2009-12-14 10:38:44 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-12-14 10:38:44 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2010-01-15 17:55:59 +00:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2010-01-15 17:55:59 +00:00
2010-01-15 16:38:29 +00:00
2010-01-15 17:55:59 +00:00
2010-01-15 16:38:29 +00:00
2010-01-15 17:55:59 +00:00
2010-01-15 16:38:29 +00:00
2010-01-15 17:55:59 +00:00
2010-01-15 16:38:29 +00:00
2010-01-15 17:55:59 +00:00
2010-01-15 16:38:29 +00:00
2010-01-15 17:55:59 +00:00
2010-01-15 16:38:29 +00:00
2010-01-15 17:55:59 +00:00
2010-01-15 16:38:29 +00:00
2010-01-15 17:55:59 +00:00
2010-01-15 16:38:29 +00:00
2010-01-15 17:55:59 +00:00
2010-01-15 16:38:29 +00:00
2010-01-15 17:55:59 +00:00
2010-01-15 16:38:29 +00:00
2010-01-15 17:55:59 +00:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2010-01-15 17:55:59 +00:00
2010-01-15 17:55:59 +00:00
2010-01-15 17:55:59 +00:00
2010-01-15 16:38:29 +00:00
2010-01-15 17:55:59 +00:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-09-29 17:15:52 +01:00
2010-01-15 16:38:29 +00:00
2009-09-29 17:15:52 +01:00
2010-01-15 16:38:29 +00:00
2009-09-29 17:15:52 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2010-01-09 09:25:04 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-09-29 17:15:52 +01:00
2010-01-15 16:38:29 +00:00
2009-09-10 12:37:42 +01:00
2010-01-15 16:38:29 +00:00
2009-09-10 12:37:43 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-09-22 16:13:33 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-22 11:34:06 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-12-14 10:38:44 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-12-14 10:38:44 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-12-14 10:38:44 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-12-14 10:38:44 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-12-14 10:38:44 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-12-14 10:38:44 +01:00
2010-01-15 16:38:29 +00:00
2009-12-14 10:38:44 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-12-14 10:38:44 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-12-14 10:38:44 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-12-14 10:38:44 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-07-09 20:04:09 +01:00
2010-01-15 16:38:29 +00:00
2009-10-21 16:37:44 +01:00
2010-01-15 16:38:29 +00:00