summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOthmar Pasteka <pasteka@kabsi.at>2013-01-30 00:26:52 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2013-02-01 14:58:28 +0100
commit7f2039f61113f11be92112adf31b6052e04d986f (patch)
tree1ae8a433ff2959d84dbbf53ae4e7bf903bd58996 /include
parenta04eca108e5efe8a09fe82f7079fcd1568ffc8d7 (diff)
downloadhqemu-7f2039f61113f11be92112adf31b6052e04d986f.zip
hqemu-7f2039f61113f11be92112adf31b6052e04d986f.tar.gz
vmdk: Allow selecting SCSI adapter in image creation
Introduce a new option "adapter_type" when converting to vmdk images. It can be one of the following: ide (default), buslogic, lsilogic or legacyESX (according to the vmdk spec from vmware). In case of a non-ide adapter, heads is set to 255 instead of the 16. The latter is used for "ide". Also see LP#545089 Signed-off-by: Othmar Pasteka <pasteka@kabsi.at> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/block/block_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h
index f7279b9..eaad53e 100644
--- a/include/block/block_int.h
+++ b/include/block/block_int.h
@@ -56,6 +56,7 @@
#define BLOCK_OPT_SUBFMT "subformat"
#define BLOCK_OPT_COMPAT_LEVEL "compat"
#define BLOCK_OPT_LAZY_REFCOUNTS "lazy_refcounts"
+#define BLOCK_OPT_ADAPTER_TYPE "adapter_type"
typedef struct BdrvTrackedRequest BdrvTrackedRequest;
OpenPOWER on IntegriCloud