List, Paolo,

Please find a patch that plugs libiscsi as a possible target for SCSI-GENERIC,
allowing a guest passthrough access to talk to the remote iscsi devices 
directly.

When specifying a -drive that uses iscsi:// as well as setting if=scsi this 
passes all SCSI commands straight to iscsi and the remote target just like for 
/dev/sg* devices.


Example:
./x86_64-softmmu/qemu-system-x86_64 -m 1024 -enable-kvm -cdrom 
/linuxmint-12-gnome-dvd-64bit.iso -device lsi -drive 
file=iscsi://10.1.1.125/iqn.ronnie.test/1,if=scsi,bus=0,unit=6


regards
ronnie sahlberg


Reply via email to