Bug 496092 - libvirt runs qemu with '-drive fmt=' rather than '-drive format='
Summary: libvirt runs qemu with '-drive fmt=' rather than '-drive format='
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F11VirtTarget
TreeView+ depends on / blocked
 
Reported: 2009-04-16 15:23 UTC by Mark McLoughlin
Modified: 2009-04-16 16:14 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-04-16 16:14:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
libvirt-0.6.2-qemu-drive-format.patch (1.01 KB, patch)
2009-04-16 15:23 UTC, Mark McLoughlin
no flags Details | Diff

Description Mark McLoughlin 2009-04-16 15:23:20 UTC
Created attachment 339858 [details]
libvirt-0.6.2-qemu-drive-format.patch

If you have e.g.

  <disk type='file' device='disk'>
    <source file='/var/lib/libvirt/images/f11-beta.snap1.qcow2'/>
    <target dev='hda' bus='ide'/>
    <driver name='qemu' type='qcow2'/>
  </disk>

then you get:

  qemu: unknown parameter 'fmt' in 'if=ide,index=0,file=/var/lib/libvirt/images/f11-beta.snap1.qcow2,fmt=qcow2'

Turns out qemu takes '-drive format=' not '-drive fmt='

Simple patch attached

Comment 1 Mark McLoughlin 2009-04-16 15:31:31 UTC
Building this:

* Thu Apr 16 2009 Mark McLoughlin <markmc> - 0.6.2-2.fc11
- Fix qemu drive format specification (#496092)

Will request it be tagged into dist-f11

Comment 2 Mark McLoughlin 2009-04-16 16:14:50 UTC
Okay, it's tagged into dist-f11


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