Re: [Qemu-devel] [PATCH v7 10/19] block: vhdx - add log write support

2013-10-18 Thread Stefan Hajnoczi
On Fri, Oct 11, 2013 at 02:17:30PM -0400, Jeff Cody wrote: +/* Perform a log write, and then immediately flush the entire log */ +int vhdx_log_write_and_flush(BlockDriverState *bs, BDRVVHDXState *s, + void *data, uint32_t length, uint64_t offset) +{ +int ret =

[Qemu-devel] [PATCH v7 10/19] block: vhdx - add log write support

2013-10-11 Thread Jeff Cody
This adds support for writing to the VHDX log. For spec details, see VHDX Specification Format v1.00: https://www.microsoft.com/en-us/download/details.aspx?id=34750 There are a few limitations to this log support: 1.) There is no caching yet 2.) The log is flushed after each entry The primary