summaryrefslogtreecommitdiff
path: root/include/block
diff options
context:
space:
mode:
authorJanne Karhunen <janne.karhunen@gmail.com>2016-05-03 02:43:30 -0700
committerKevin Wolf <kwolf@redhat.com>2016-05-12 15:22:08 +0200
commitf249924e96861f1dd7c5f79e62e3fb96c78e255d (patch)
tree80c77993c721f4338b3b3db1350a3b62c4ab802c /include/block
parented79f37d9b6f1d3543afe5103bbe9dab43484b66 (diff)
downloadqemu-f249924e96861f1dd7c5f79e62e3fb96c78e255d.zip
Allow users to specify the vmdk virtual hardware version.
Vmdk images have metadata to indicate the vmware virtual hardware version image was created/tested to run with. Allow users to specify that version via new 'hwversion' option. [ kwolf: Adjust qemu-iotests common.filter ] Signed-off-by: Janne Karhunen <Janne.Karhunen@gmail.com> Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r--include/block/block_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h
index c512074ce9..6fbe648231 100644
--- a/include/block/block_int.h
+++ b/include/block/block_int.h
@@ -38,12 +38,12 @@
#include "qemu/throttle.h"
#define BLOCK_FLAG_ENCRYPT 1
-#define BLOCK_FLAG_COMPAT6 4
#define BLOCK_FLAG_LAZY_REFCOUNTS 8
#define BLOCK_OPT_SIZE "size"
#define BLOCK_OPT_ENCRYPT "encryption"
#define BLOCK_OPT_COMPAT6 "compat6"
+#define BLOCK_OPT_HWVERSION "hwversion"
#define BLOCK_OPT_BACKING_FILE "backing_file"
#define BLOCK_OPT_BACKING_FMT "backing_fmt"
#define BLOCK_OPT_CLUSTER_SIZE "cluster_size"