Daniel P. Berrange wrote:
On Thu, Apr 23, 2009 at 11:13:50AM -0500, Anthony Liguori wrote:
Brian Jackson wrote:
Your problem is that index's are per interface type, so both of your
drives should be index=0 since they are different interface types.
More specifically, with virtio-blk, you cannot have discontinuous
indexes. In other words, having index=0, index=1, index=2 is valid,
but having index=1, index=2, index=4 is not.
Is that restriction going to work with migration ?
eg, you have a VM with 3 disks. vda, vdb, vdc (index=0, index=1 and index=2).
You then hot-unplug the 2nd disk, vdb (index=1). Now migrate the guest to
another machine. I believe you now need to be able to start qemu on the target
host with -incoming and index=0 and index=2, but no index=1 because that
disk was unplugged. So the indexes would be discontinuous now
index doesn't have meaning with virtio-blk.
Each disk is dedicated to a PCI slot. To support migration with
hotplug, you need to specify the PCI bus address when creating the
virtio-blk device.
Regards,
Anthony Liguori
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html