Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-90174

Should remove floppy device for the guest after v2v conversion [rhel-9.7]

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • rhel-9.7
    • virt-v2v
    • None
    • No
    • Low
    • rhel-virt-tools
    • ssg_virtualization
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

      Description of problem:
      Should remove floppy device for the guest after v2v conversion

      Version-Release number of selected component (if applicable):
      virt-v2v-2.7.1-10.el9.x86_64
      libvirt-libs-10.10.0-10.el9.x86_64
      qemu-img-9.1.0-19.el9.x86_64

      How reproducible:
      100%

      Steps:
      1.Prepare a ova file which contains floppy device in guest.ovf

      # cat test-bug1167302.ovf |grep floppy -A 2 -B 6
            <Item ovf:required="false">
              <rasd:AddressOnParent>0</rasd:AddressOnParent>
              <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
              <rasd:Description>Floppy Drive</rasd:Description>
              <rasd:ElementName>Floppy drive 1</rasd:ElementName>
              <rasd:InstanceID>10</rasd:InstanceID>
              <rasd:ResourceSubType>vmware.floppy.remotedevice</rasd:ResourceSubType>
              <rasd:ResourceType>14</rasd:ResourceType>
            </Item
            

      2. Convert the guest from ova file by virt-v2v

      # virt-v2v -i ova test-bug1167302.ova 
      [   0.3] Setting up the source: -i ova test-bug1167302.ova
      virt-v2v: warning: making OVA directory public readable to work around 
      libvirt bug https://bugzilla.redhat.com/1045069
      [   3.4] Opening the source
      [  17.7] Inspecting the source
      [  24.7] Checking for sufficient free disk space in the guest
      [  24.7] Converting Red Hat Enterprise Linux Server release 6.6 (Santiago) (rhel6.6) to run on KVM
      virt-v2v: The QEMU Guest Agent will be installed for this guest at first 
      boot.
      virt-v2v: This guest has virtio drivers installed.
      [  77.6] Setting a random seed
      [  77.7] SELinux relabelling
      [ 101.2] Mapping filesystem data to avoid copying unused and blank areas
      [ 103.3] Closing the overlay
      [ 103.6] Assigning disks to buses
      [ 103.6] Checking if the guest needs BIOS or UEFI to boot
      [ 103.6] Setting up the destination: -o libvirt
      [ 104.7] Copying disk 1/1
      █ 100% [****************************************]
      [ 141.8] Creating output metadata
      [ 141.8] Finishing off

      3. Start the guest by virsh after v2v conversion

      # virsh start test-bug1167302
      error: Failed to start domain 'test-bug1167302'
      error: internal error: QEMU unexpectedly closed the monitor (vm='test-bug1167302'): 2025-05-08T07:52:56.276965Z qemu-kvm: -device {"driver":"isa-fdc"}: Device isa-fdc is not supported with machine type pc-q35-rhel9.6.0
       
      

      Actual result:
      Guest with floppy device can't start on rhel9

      Expect result:
      As above description

      Additional info
      Related bug https://bugzilla.redhat.com/show_bug.cgi?id=1723261

       

              rhn-engineering-colerobinson Cole Robinson
              mxie@redhat.com Ming Xie
              virt-maint virt-maint
              virt-bugs virt-bugs
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: