qemu-img complains about "Unknown option 'size'" when using host_device format

Bug #460542 reported by Bitti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned
qemu-kvm (Ubuntu)
Fix Released
Low
Dustin Kirkland 
Lucid
Fix Released
Low
Dustin Kirkland 

Bug Description

Binary package hint: qemu-kvm

qemu-kvm-0.11.0

When I run:
sudo qemu-img convert ubuntu-kvm/disk0.qcow2 -O host_device /dev/vg01/vm_test

I get this:
Unknown option 'size'

Everything seems to work despite this error.

I attached a patch, but I don't know if it's correct.

Revision history for this message
Bitti (bitaround) wrote :
Thierry Carrez (ttx)
Changed in qemu-kvm (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Anthony,

Can you spot check the attached patch, and note if it's correct or not?

I can help Bitti get this submitted on the qemu-devel@ mailing list, if a spot check shows that it's worth submitting.

Changed in qemu-kvm (Ubuntu):
status: Confirmed → Triaged
assignee: nobody → Dustin Kirkland (kirkland)
Changed in qemu:
status: New → Triaged
Changed in qemu-kvm (Ubuntu):
milestone: none → ubuntu-10.04-beta-1
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Bitti-

Hi, I just checked with QEMU upstream and your patch looks good.

Could you please submit it to the qemu-devel@ upstream mailing list? Please make sure you add a line in the patch header that says:

Signed-off-by: Your Name <email address hidden>

I've assigned myself the Ubuntu task. I'll get this patched in the Ubuntu package. Thanks.

Revision history for this message
Bitti (bitaround) wrote :

I posted the patch to qemu-devel mailing list.

Revision history for this message
Bitti (bitaround) wrote :

Response from qemu-devel mailing list:

"This has been fixed in master by commit 0b4ce02e which is contained in
0.12, too.

Kevin"

So this bug has been fixed already in Lucid?

Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: [Bug 460542] Re: qemu-img complains about "Unknown option 'size'" when using host_device format

Hmm, well, Lucid has 0.12.3, so presumably so... Can you re-test?
I'll try myself, but it'll be a few hours (or days).

Thierry Carrez (ttx)
Changed in qemu-kvm (Ubuntu Lucid):
milestone: ubuntu-10.04-beta-1 → none
Revision history for this message
Bitti (bitaround) wrote :

I tested it in Lucid 64bit running under KVM.
There is no output to the console, so it's working!

I can even start that virtual machine (Lucid 64bit) in host that is also a virtual machine (Lucid 64bit)!

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Awesome! Thanks for testing.

Changed in qemu:
status: Triaged → Fix Released
Changed in qemu-kvm (Ubuntu Lucid):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.