This is a patch that adds support for iSCSI to QEMU when QEMU is built against libiscsi (https://github.com/sahlberg/libiscsi)
ISCSI devices are specified using a special iSCSI URL: -drive file=iscsi://10.1.1.1:3260/iqn.ronnie.test/1 This allows a guest to access iscsi devices without exposing these devices to the host. Which is nice if/when you have a very large number of LUNs that are dedicated for virtual guests. This patch is updated to set FUA for all writes, unless any of the NOCACHE or CACHE_WB flags are set for the device. Please review and/or apply. regards ronnie sahlberg