Bug 1043359 - qemu-img needs to support adapter-type
Summary: qemu-img needs to support adapter-type
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Virtualization Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-16 05:19 UTC by Alves
Modified: 2013-12-16 15:11 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-16 15:11:57 UTC
Type: Bug


Attachments (Terms of Use)

Description Alves 2013-12-16 05:19:22 UTC
Description of problem:
This bug https://bugs.launchpad.net/nova/+bug/1232348 shows my problem. All images convert from any format to vmdk are unbootable. But I found in that bug that there is a version of qemu that adds -adapter-type to the options of qemu-img convert. According to the bug, qemu version 1.4 and above have this feature. But I am using qemu-1.6.1-2.fc20.x86_64 and qemu-img-1.6.1-2.fc20.x86_64, and this feature is not there. The industry needs be able to convert virtual machine formats back and forth.

We need to make sure that qemu-image convert can specify adapter-type when converting to vmdk

Comment 1 Richard W.M. Jones 2013-12-16 09:34:33 UTC
Works for me with qemu 1.7.0 in Fedora Rawhide:

$ qemu-img convert test.qcow2 -O vmdk test.vmdk
$ strings test.vmdk | grep -i adapter
ddb.adapterType = "ide"

$ qemu-img convert test.qcow2 -O vmdk -o adapter_type=buslogic test.vmdk
$ strings test.vmdk | grep -i adapter
ddb.adapterType = "buslogic"

I think the real WTF here is why VMware depends on disk geometry!

Comment 2 Cole Robinson 2013-12-16 15:11:57 UTC
See the syntax Rich posted in Comment #1 for how to do what you want.


Note You need to log in before you can comment on or make changes to this bug.