Skip to contentSkip to conversation

qemu-img should be able to create scsi based vmdk images

Qemu-devel Rob White 4 participants 4 messages Nov 9, 2011 – Oct 31, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Rob White

author
#1 lore raw

Those of us who have vmdk images bestowed upon us and would prefer to run them under qemu would very like to have a way to convert the images in both directions.

Signature · 33 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/545089

Title:
  qemu-img should be able to create scsi based vmdk images

Status in QEMU:
  Confirmed

Bug description:
  qemu-img can create vmdk disk images. These are always created as
  "ide" disks; that is, the paramter ddb.adapterType is set to "ide" in
  the .vmdk file.

  I needed to create a scsi style vmdk image, in which ddb.adapterType
  is set to "lsilogic".

  The attached patch (against qemu-0.12.3) allows me to convert a raw
  image into a scsi vmdk image:

   qemu-img convert -O vmdk -o scsi rootfs.raw rootfs.vmdk

  The "scsi" option works also for the "create" command.

  I hope very much that this change can be rolled into qemu.

  best,

  Seb James

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/545089/+subscriptions
#2 lore raw
Quoted 4 lines · Rob White

 The attached patch (against qemu-0.12.3) allows me to convert a raw image into a scsi vmdk image:

  qemu-img convert -O vmdk -o scsi rootfs.raw rootfs.vmdk

Please rebase onto qemu.git/master.

Please see this wiki page on how to submit patches to QEMU:
http://wiki.qemu.org/Contribute/SubmitAPatch

Stefan

#3 lore raw
In reply to a message not in the archive

This seems to be fixed by this commit here:
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=7f2039f61113f11be9211
==> Setting status to "Fix released"

** Changed in: qemu
Status: Confirmed => Fix Released

Signature · 33 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/545089

Title:
  qemu-img should be able to create scsi based vmdk images

Status in QEMU:
  Fix Released

Bug description:
  qemu-img can create vmdk disk images. These are always created as
  "ide" disks; that is, the paramter ddb.adapterType is set to "ide" in
  the .vmdk file.

  I needed to create a scsi style vmdk image, in which ddb.adapterType
  is set to "lsilogic".

  The attached patch (against qemu-0.12.3) allows me to convert a raw
  image into a scsi vmdk image:

   qemu-img convert -O vmdk -o scsi rootfs.raw rootfs.vmdk

  The "scsi" option works also for the "create" command.

  I hope very much that this change can be rolled into qemu.

  best,

  Seb James

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/545089/+subscriptions
#4 lore raw
In reply to a message not in the archive

Great news!

Signature · 33 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/545089

Title:
  qemu-img should be able to create scsi based vmdk images

Status in QEMU:
  Fix Released

Bug description:
  qemu-img can create vmdk disk images. These are always created as
  "ide" disks; that is, the paramter ddb.adapterType is set to "ide" in
  the .vmdk file.

  I needed to create a scsi style vmdk image, in which ddb.adapterType
  is set to "lsilogic".

  The attached patch (against qemu-0.12.3) allows me to convert a raw
  image into a scsi vmdk image:

   qemu-img convert -O vmdk -o scsi rootfs.raw rootfs.vmdk

  The "scsi" option works also for the "create" command.

  I hope very much that this change can be rolled into qemu.

  best,

  Seb James

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/545089/+subscriptions