Bug 570808

Summary: Cannot attach floppy disk image to domain, libVirtError
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: berrange, clalance, crobinso, itamar, jforbes, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-10 16:17:46 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Tim Waugh 2010-03-05 08:38:48 EST
Description of problem:
My domain is shut off, and I want to add a floppy disk drive to it from a .img file.  I can't because of a libVirtError.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Click 'Add Hardware'
2.Type is 'Storage'
3.Choose disk image file
4.Choose 'Floppy disk' as the device type
5.'Floppy 1' is added.  Now start the domain.

Actual results:
Error starting domain: internal error unable to start guest: can't parse: "isa-fdc,driveA=drive-fdc0-0-0"

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/engine.py", line 589, in run_domain
  File "/usr/share/virt-manager/virtManager/domain.py", line 1208, in startup
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 300, in create
    if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: internal error unable to start guest: can't parse: "isa-fdc,driveA=drive-fdc0-0-0"
Comment 1 Cole Robinson 2010-03-05 11:12:26 EST
Fixed upstream by this commit, will be an easy backport:

Comment 2 Cole Robinson 2010-03-23 14:38:46 EDT
This should be fixed by libvirt 0.7.7 in F-13 updates-testing.
Comment 3 Tim Waugh 2010-03-24 14:28:18 EDT
Yes, now boots.  Thanks.