Hi all, qemu allows for a simple multipath emulation by just using the same backing file for two distinct block devices. This patchset adds a very basic ALUA support to properly report this scenario go the guest.
As usual, comments and reviews are welcome. Hannes Reinecke (2): block: implement shared block device count scsi: Implement multipath support block.c | 51 +++++++++++++++++++++++++++++++++ hw/scsi/scsi-disk.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++ include/block/block.h | 3 ++ include/block/block_int.h | 2 ++ include/scsi/constants.h | 5 ++++ 5 files changed, 133 insertions(+) -- 2.12.3