Javier Guerra wrote:
i tried this looong ago and didn't really work because there was some
userspace cache on each QEMU instance.  but the -drive option has a
'cache=off' setting that should be enough.

in theory (i haven't tested, but Avi 'blessed' it):
- create a new image with qemu-img
- add it to the command line using -drive file=xxx,cache=off on both
KVM instances
- use a cluster filesystem!

This won't work with qcow images as metadata and allocation is not synchronized. Use raw images. cache=off is not strictly required, since the Linux pagecache will maintain coherency.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to