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

RFE: Allow PCI passthrough for ESX guests

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Low
    • FutureFeature
    • rhel-virt-core-libvirt-1
    • ssg_virtualization
    • None
    • QE ack
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      There is no warning when v2v converts guest which has pci passthrough device

      Version-Release number of selected component (if applicable):
      virt-v2v-2.0.0-2.el9.x86_64
      libguestfs-1.48.0-2.el9.x86_64
      libvirt-libs-8.1.0-1.el9.x86_64
      qemu-img-6.2.0-11.el9_0.1.x86_64
      nbdkit-server-1.30.1-1.el9.x86_64
      libnbd-1.12.2-1.el9.x86_64

      How reproducible:
      100%

      Steps to Reproduce:
      1.Prepare a guest which has pci passthrough device on VMware
      #cat Auto-esx7.0-rhel8.3-pci-passthrough/Auto-esx7.0-rhel8.3-pci-passthrough.vmx |grep pciPassthru
      pciPassthru0.id = "00000:002:00.1"
      pciPassthru0.deviceId = "0x1521"
      pciPassthru0.vendorId = "0x8086"
      pciPassthru0.systemId = "5ea99e3e-d31d-e6bc-9ae2-6c0b84ef00ee"
      pciPassthru0.present = "TRUE"

      2.Convert the guest from VMware by v2v

      1. virt-v2v -ic vpx://root@10.73.198.169/data/10.73.199.217/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk7.0.3 -io vddk-thumbprint=B5:52:1F:B4:21:09:45:24:51:32:56:F6:63:6A:93:5D:54:08:2D:78 -o rhv-upload -of qcow2 -oc https://dell-per740-22.lab.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -os nfs_data -b ovirtmgmt -ip /home/passwd Auto-esx7.0-rhel8.3-pci-passthrough
        [ 0.0] Setting up the source: -i libvirt -ic vpx://root@10.73.198.169/data/10.73.199.217/?no_verify=1 -it vddk Auto-esx7.0-rhel8.3-pci-passthrough
        [ 1.9] Opening the source
        [ 8.0] Inspecting the source
        [ 16.1] Checking for sufficient free disk space in the guest
        [ 16.1] Converting Red Hat Enterprise Linux 8.3 (Ootpa) to run on KVM
        virt-v2v: This guest has virtio drivers installed.
        [ 85.7] Mapping filesystem data to avoid copying unused and blank areas
        [ 86.7] Closing the overlay
        [ 87.0] Assigning disks to buses
        [ 87.0] Checking if the guest needs BIOS or UEFI to boot
        [ 87.0] Setting up the destination: -o rhv-upload -oc https://dell-per740-22.lab.eng.pek2.redhat.com/ovirt-engine/api -os nfs_data
        [ 107.8] Copying disk 1/1
        █ 100% [****************************************]
        [ 323.3] Creating output metadata
        [ 333.9] Finishing off

      Actual results:
      As above description

      Expected results:
      There is a warning when v2v converts guest which has pci passthrough device

      Additional info:
      This is actually a regression bug because the problem has been fixed in bug1472719

              virt-maint virt-maint
              mxie@redhat.com Ming Xie
              virt-maint virt-maint
              Ming Xie Ming Xie
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated:
                Resolved: