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

Qemu/amd-iommu: Advertise a suitable device id

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.6
    • qemu-kvm
    • None
    • No
    • None
    • rhel-sst-virtualization-hwe
    • ssg_virtualization
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      QE found during experimental testing that when running a Windows guest with the virtual amd iommu device, Windows complains that a device driver could not be found.

      As a POC, something like this fixes this issue:
      diff --git a/hw/i386/amd_iommu.c b/hw/i386/amd_iommu.c
      index 464f0b666e..357a756af4 100644
      — a/hw/i386/amd_iommu.c
      +++ b/hw/i386/amd_iommu.c
      @@ -1655,6 +1655,7 @@ static void amdvi_pci_class_init(ObjectClass
      *klass, void *data)

      k->vendor_id = PCI_VENDOR_ID_AMD;
      k->class_id = 0x0806;
      + k->device_id = 0x1419;
      k->realize = amdvi_pci_realize;

      set_bit(DEVICE_CATEGORY_MISC, dc->categories);

      AMD is still evaluating the correct approach to fix this issue.

              john.allen@amd.com John Allen
              bdas@redhat.com Bandan Das
              AMD Confidential Group
              virt-maint virt-maint
              Jin Liu Jin Liu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: