]> git.proxmox.com Git - qemu.git/commit - block/vmdk.c
vmdk: Allow selecting SCSI adapter in image creation
authorOthmar Pasteka <pasteka@kabsi.at>
Tue, 29 Jan 2013 23:26:52 +0000 (00:26 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 1 Feb 2013 13:58:28 +0000 (14:58 +0100)
commit7f2039f61113f11be92112adf31b6052e04d986f
tree1ae8a433ff2959d84dbbf53ae4e7bf903bd58996
parenta04eca108e5efe8a09fe82f7079fcd1568ffc8d7
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>
block/vmdk.c
include/block/block_int.h