summaryrefslogtreecommitdiff
path: root/block/vhdx.h
diff options
context:
space:
mode:
authorJeff Cody <jcody@redhat.com>2013-10-30 10:44:48 -0400
committerStefan Hajnoczi <stefanha@redhat.com>2013-11-07 13:58:59 +0100
commitd92aa8833c051b53d3bf2614ff885df0037f10bb (patch)
tree9d741cf8b49e0ad5ffffa4bb52e912f45a1cd012 /block/vhdx.h
parent8adc52336d9c44ab4c7b9358a7be22ac0ef962bf (diff)
downloadqemu-d92aa8833c051b53d3bf2614ff885df0037f10bb.tar.gz
qemu-d92aa8833c051b53d3bf2614ff885df0037f10bb.tar.bz2
qemu-d92aa8833c051b53d3bf2614ff885df0037f10bb.zip
block: vhdx write support
This adds support for writing to VHDX image files, using coroutines. Writes into the BAT table goes through the VHDX log. Currently, BAT table writes occur when expanding a dynamic VHDX file, and allocating a new BAT entry. Signed-off-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/vhdx.h')
-rw-r--r--block/vhdx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/vhdx.h b/block/vhdx.h
index 6abbf5090b..f3315480ea 100644
--- a/block/vhdx.h
+++ b/block/vhdx.h
@@ -217,7 +217,7 @@ typedef struct QEMU_PACKED VHDXLogDataSector {
#define PAYLOAD_BLOCK_UNDEFINED 1
#define PAYLOAD_BLOCK_ZERO 2
#define PAYLOAD_BLOCK_UNMAPPED 5
-#define PAYLOAD_BLOCK_FULL_PRESENT 6
+#define PAYLOAD_BLOCK_FULLY_PRESENT 6
#define PAYLOAD_BLOCK_PARTIALLY_PRESENT 7
#define SB_BLOCK_NOT_PRESENT 0