qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] snapshot=on and cache=off compatibility


From: Laurent Vivier
Subject: [Qemu-devel] [PATCH] snapshot=on and cache=off compatibility
Date: Tue, 22 Jan 2008 11:17:09 +0100

This patch allows to use snapshot with disabled host cache 
(i.e. -drive cache=off,snapshot=on).

To do that, memory allocated for snapshot is aligned on a 512 bytes
boundary, and read/write uses offset and count aligned on this value.
When it is not possible or too complex (for instance for some metadata),
the cache is reactivated temporarily.

All comments are welcome,
Laurent

Attachment: snapshot-cache
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]