[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 6/9] block: vhdx - update log guid in header,
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v2 6/9] block: vhdx - update log guid in header, and first write tracker |
Date: |
Thu, 1 Aug 2013 17:09:44 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Jul 31, 2013 at 11:23:51PM -0400, Jeff Cody wrote:
> @@ -998,6 +1006,16 @@ exit:
>
>
>
> +/* Per the spec, on the first write of guest-visible data to the file the
> + * data write guid must be updated in the header */
> +void vhdx_user_visible_write(BlockDriverState *bs, BDRVVHDXState *s)
> +{
> + if (s->first_visible_write) {
> + s->first_visible_write = false;
> + vhdx_update_headers(bs, s, true, NULL);
Error handling is missing.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH v2 6/9] block: vhdx - update log guid in header, and first write tracker,
Stefan Hajnoczi <=