RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1390348 - PCI: Provide to libvirt a new query command whether a device is PCI/PCIe/hybrid
Summary: PCI: Provide to libvirt a new query command whether a device is PCI/PCIe/hybrid
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.4
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: 7.4
Assignee: Eduardo Habkost
QA Contact: jingzhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-31 18:53 UTC by Marcel Apfelbaum
Modified: 2018-04-11 00:15 UTC (History)
8 users (show)

Fixed In Version: qemu-kvm-rhev-2.10.0-4.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-11 00:12:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1104 0 None None None 2018-04-11 00:15:02 UTC

Description Marcel Apfelbaum 2016-10-31 18:53:21 UTC
A device can be PCI only/PCIe only or PCI/PCIe depending on the bus is plugged in.
Providing libvirt query-machines or other new query commands is important if we have any plans to add new capabilities to Q35 (i.e. support devices that were not supported in a previous version [e.g. legacy PCI?])
Reminder: interfaces useful for libvirt should work with "- machine none".

Comment 5 Eduardo Habkost 2017-08-28 18:01:07 UTC
New series submitted upstream:

From: Eduardo Habkost <ehabkost>
To: qemu-devel
Date: Wed, 23 Aug 2017 19:14:40 -0300
Message-Id: <20170823221445.15243-1-ehabkost>
Subject: [Qemu-devel] [PATCH 0/5] Mark legacy/PCIe/hybrid PCI devices using interface names

https://www.mail-archive.com/qemu-devel@nongnu.org/msg475530.html

Comment 10 Miroslav Rezanina 2017-11-02 10:08:55 UTC
Fix included in qemu-kvm-rhev-2.10.0-4.el7

Comment 12 jingzhao 2017-11-06 10:57:51 UTC
Reproduce the issue on qemu-kvm-rhev-2.10.0-3.el7.x86_64 and verified it on qemu-kvm-rhev-2.10.0-4.el7.x86_64

the detailed result of qmp command

{"execute":"qom-list-types","arguments": {"implements":"conventional-pci-device"}
}
{"return": [{"name": "vhost-vsock-pci", "parent": "virtio-pci"}, {"name": "virtio-tablet-pci", "parent": "virtio-input-hid-pci"}, {"name": "pci-serial-4x", "parent": "pci-device"}, {"name": "e1000-82540em", "parent": "e1000-base"}, {"name": "piix3-ide", "parent": "pci-ide"}, {"name": "PIIX3-xen", "parent": "pci-piix3"}, {"name": "usb-ehci", "parent": "pci-ehci-usb"}, {"name": "pci-serial-2x", "parent": "pci-device"}, {"name": "piix4-ide", "parent": "pci-ide"}, {"name": "virtio-net-pci", "parent": "virtio-pci"}, {"name": "virtio-mouse-pci", "parent": "virtio-input-hid-pci"}, {"name": "ich9-usb-ehci1", "parent": "pci-ehci-usb"}, {"name": "virtio-vga", "parent": "virtio-pci"}, {"name": "ich9-usb-ehci2", "parent": "pci-ehci-usb"}, {"name": "cirrus-vga", "parent": "pci-device"}, {"name": "virtio-rng-pci", "parent": "virtio-pci"}, {"name": "qxl-vga", "parent": "pci-qxl"}, {"name": "PIIX3", "parent": "pci-piix3"}, {"name": "kvm-pci-assign", "parent": "pci-device"}, {"name": "i6300esb", "parent": "pci-device"}, {"name": "AC97", "parent": "pci-device"}, {"name": "PIIX4_PM", "parent": "pci-device"}, {"name": "piix4-usb-uhci", "parent": "pci-uhci-usb"}, {"name": "vfio-pci-igd-lpc-bridge", "parent": "pci-device"}, {"name": "piix3-usb-uhci", "parent": "pci-uhci-usb"}, {"name": "virtio-blk-pci", "parent": "virtio-pci"}, {"name": "virtio-keyboard-pci", "parent": "virtio-input-hid-pci"}, {"name": "nec-usb-xhci", "parent": "base-xhci"}, {"name": "ivshmem", "parent": "ivshmem-common"}, {"name": "i82801b11-bridge", "parent": "base-pci-bridge"}, {"name": "pci-bridge-seat", "parent": "pci-bridge"}, {"name": "mch", "parent": "pci-device"}, {"name": "ICH9-LPC", "parent": "pci-device"}, {"name": "edu", "parent": "pci-device"}, {"name": "ich9-usb-uhci4", "parent": "pci-uhci-usb"}, {"name": "ich9-usb-uhci6", "parent": "pci-uhci-usb"}, {"name": "qxl", "parent": "pci-qxl"}, {"name": "intel-hda", "parent": "intel-hda-generic"}, {"name": "ich9-usb-uhci3", "parent": "pci-uhci-usb"}, {"name": "ICH9 SMB", "parent": "pci-device"}, {"name": "ich9-usb-uhci5", "parent": "pci-uhci-usb"}, {"name": "pxb-pcie", "parent": "pci-device"}, {"name": "piix3-ide-xen", "parent": "pci-ide"}, {"name": "VGA", "parent": "pci-vga"}, {"name": "pci-testdev", "parent": "pci-device"}, {"name": "ich9-usb-uhci2", "parent": "pci-uhci-usb"}, {"name": "ich9-usb-uhci1", "parent": "pci-uhci-usb"}, {"name": "pci-bridge", "parent": "base-pci-bridge"}, {"name": "pci-serial", "parent": "pci-device"}, {"name": "virtio-balloon-pci", "parent": "virtio-pci"}, {"name": "virtio-scsi-pci", "parent": "virtio-pci"}, {"name": "rtl8139", "parent": "pci-device"}, {"name": "ich9-intel-hda", "parent": "intel-hda-generic"}, {"name": "virtio-input-host-pci", "parent": "virtio-input-pci"}, {"name": "qemu-xhci", "parent": "base-xhci"}, {"name": "pxb", "parent": "pci-device"}, {"name": "e1000", "parent": "e1000-82540em"}, {"name": "virtio-serial-pci", "parent": "virtio-pci"}, {"name": "i440FX", "parent": "pci-device"}, {"name": "ich9-ahci", "parent": "pci-device"}, {"name": "vfio-pci", "parent": "pci-device"}, {"name": "vt82c686b-usb-uhci", "parent": "pci-uhci-usb"}, {"name": "virtio-gpu-pci", "parent": "virtio-pci"}, {"name": "ivshmem-plain", "parent": "ivshmem-common"}, {"name": "secondary-vga", "parent": "pci-vga"}, {"name": "ivshmem-doorbell", "parent": "ivshmem-common"}]}
{"execute":"qom-list-types","arguments": {"implements":"pci-express-device"}}
{"return": [{"name": "vhost-vsock-pci", "parent": "virtio-pci"}, {"name": "virtio-tablet-pci", "parent": "virtio-input-hid-pci"}, {"name": "e1000e", "parent": "pci-device"}, {"name": "virtio-net-pci", "parent": "virtio-pci"}, {"name": "virtio-mouse-pci", "parent": "virtio-input-hid-pci"}, {"name": "virtio-vga", "parent": "virtio-pci"}, {"name": "virtio-rng-pci", "parent": "virtio-pci"}, {"name": "pcie-root-port", "parent": "pcie-root-port-base"}, {"name": "virtio-blk-pci", "parent": "virtio-pci"}, {"name": "virtio-keyboard-pci", "parent": "virtio-input-hid-pci"}, {"name": "xio3130-downstream", "parent": "pcie-slot"}, {"name": "nec-usb-xhci", "parent": "base-xhci"}, {"name": "ioh3420", "parent": "pcie-root-port-base"}, {"name": "x3130-upstream", "parent": "pcie-port"}, {"name": "virtio-balloon-pci", "parent": "virtio-pci"}, {"name": "virtio-scsi-pci", "parent": "virtio-pci"}, {"name": "virtio-input-host-pci", "parent": "virtio-input-pci"}, {"name": "qemu-xhci", "parent": "base-xhci"}, {"name": "virtio-serial-pci", "parent": "virtio-pci"}, {"name": "vfio-pci", "parent": "pci-device"}, {"name": "virtio-gpu-pci", "parent": "virtio-pci"}]}
{"execute":"qom-list-types","arguments": {"implements":"pci-device"}}
{"return": [{"name": "vhost-vsock-pci", "parent": "virtio-pci"}, {"name": "virtio-tablet-pci", "parent": "virtio-input-hid-pci"}, {"name": "pci-serial-4x", "parent": "pci-device"}, {"name": "e1000-82540em", "parent": "e1000-base"}, {"name": "e1000e", "parent": "pci-device"}, {"name": "piix3-ide", "parent": "pci-ide"}, {"name": "PIIX3-xen", "parent": "pci-piix3"}, {"name": "usb-ehci", "parent": "pci-ehci-usb"}, {"name": "pci-serial-2x", "parent": "pci-device"}, {"name": "piix4-ide", "parent": "pci-ide"}, {"name": "virtio-net-pci", "parent": "virtio-pci"}, {"name": "virtio-mouse-pci", "parent": "virtio-input-hid-pci"}, {"name": "ich9-usb-ehci1", "parent": "pci-ehci-usb"}, {"name": "virtio-vga", "parent": "virtio-pci"}, {"name": "ich9-usb-ehci2", "parent": "pci-ehci-usb"}, {"name": "cirrus-vga", "parent": "pci-device"}, {"name": "virtio-rng-pci", "parent": "virtio-pci"}, {"name": "qxl-vga", "parent": "pci-qxl"}, {"name": "pcie-root-port", "parent": "pcie-root-port-base"}, {"name": "PIIX3", "parent": "pci-piix3"}, {"name": "kvm-pci-assign", "parent": "pci-device"}, {"name": "i6300esb", "parent": "pci-device"}, {"name": "AC97", "parent": "pci-device"}, {"name": "PIIX4_PM", "parent": "pci-device"}, {"name": "piix4-usb-uhci", "parent": "pci-uhci-usb"}, {"name": "vfio-pci-igd-lpc-bridge", "parent": "pci-device"}, {"name": "piix3-usb-uhci", "parent": "pci-uhci-usb"}, {"name": "virtio-blk-pci", "parent": "virtio-pci"}, {"name": "virtio-keyboard-pci", "parent": "virtio-input-hid-pci"}, {"name": "xio3130-downstream", "parent": "pcie-slot"}, {"name": "nec-usb-xhci", "parent": "base-xhci"}, {"name": "ivshmem", "parent": "ivshmem-common"}, {"name": "ioh3420", "parent": "pcie-root-port-base"}, {"name": "i82801b11-bridge", "parent": "base-pci-bridge"}, {"name": "pci-bridge-seat", "parent": "pci-bridge"}, {"name": "mch", "parent": "pci-device"}, {"name": "ICH9-LPC", "parent": "pci-device"}, {"name": "edu", "parent": "pci-device"}, {"name": "ich9-usb-uhci4", "parent": "pci-uhci-usb"}, {"name": "ich9-usb-uhci6", "parent": "pci-uhci-usb"}, {"name": "qxl", "parent": "pci-qxl"}, {"name": "intel-hda", "parent": "intel-hda-generic"}, {"name": "ich9-usb-uhci3", "parent": "pci-uhci-usb"}, {"name": "ICH9 SMB", "parent": "pci-device"}, {"name": "ich9-usb-uhci5", "parent": "pci-uhci-usb"}, {"name": "pxb-pcie", "parent": "pci-device"}, {"name": "piix3-ide-xen", "parent": "pci-ide"}, {"name": "VGA", "parent": "pci-vga"}, {"name": "pci-testdev", "parent": "pci-device"}, {"name": "ich9-usb-uhci2", "parent": "pci-uhci-usb"}, {"name": "ich9-usb-uhci1", "parent": "pci-uhci-usb"}, {"name": "x3130-upstream", "parent": "pcie-port"}, {"name": "pci-bridge", "parent": "base-pci-bridge"}, {"name": "pci-serial", "parent": "pci-device"}, {"name": "virtio-balloon-pci", "parent": "virtio-pci"}, {"name": "virtio-scsi-pci", "parent": "virtio-pci"}, {"name": "rtl8139", "parent": "pci-device"}, {"name": "ich9-intel-hda", "parent": "intel-hda-generic"}, {"name": "virtio-input-host-pci", "parent": "virtio-input-pci"}, {"name": "qemu-xhci", "parent": "base-xhci"}, {"name": "pxb", "parent": "pci-device"}, {"name": "e1000", "parent": "e1000-82540em"}, {"name": "virtio-serial-pci", "parent": "virtio-pci"}, {"name": "i440FX", "parent": "pci-device"}, {"name": "ich9-ahci", "parent": "pci-device"}, {"name": "vfio-pci", "parent": "pci-device"}, {"name": "vt82c686b-usb-uhci", "parent": "pci-uhci-usb"}, {"name": "virtio-gpu-pci", "parent": "virtio-pci"}, {"name": "ivshmem-plain", "parent": "ivshmem-common"}, {"name": "secondary-vga", "parent": "pci-vga"}, {"name": "ivshmem-doorbell", "parent": "ivshmem-common"}]}

Mainly focus on the "virtio-pci","vfio-pci" and "*-xhci", and all command can check the above devices

According to above test result, change to verified

Comment 14 errata-xmlrpc 2018-04-11 00:12:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:1104


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