On Thu, Jul 12, 2012 at 6:18 PM, Asias He <asias.hejun@xxxxxxxxx> wrote: > With Direct I/O, file reads and writes go directly from the applications > to the storage device, bypassing the operating system read and write > caches. This is useful for applications that manage their own caches. > > Open a disk image with O_DIRECT: > $ lkvm run -d ~/img/test.img,direct > > The original readonly flag is still supported. > Open a disk image with O_DIRECT and readonly: > $ lkvm run -d ~/img/test.img,direct,ro > > Signed-off-by: Asias He <asias.hejun@xxxxxxxxx> Well, what's the use case for this? Pekka -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html