Il 23/07/2013 15:26, Daniel P. Berrange ha scritto:
> >
> > Ok, this answers my question. :)
> >
> > I think the default mode should be direct, because otherwise things such
> > as persistent reservations do not work.
No, the default has to be host mode, because that is the only mode that
is guaranteed to be usable with any QEMU. The direct mode requires a
QEMU that is new enough, and a distro to have enabled it. We can't
rely on that as a default choice.
Volume sources are also new enough that you can assume a good QEMU.
Host mode for iSCSI is broken. It also doesn't reconnect well if you
have a network problem, because after a LUN rescan the inode may change.
Paolo