Bug 622723
Summary: | Getting inconsistent IRQ value after executed the command "info pci" in qemu and executed the command "lspci -vvv" in guest. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | juzhang <juzhang> |
Component: | qemu-kvm | Assignee: | Alex Williamson <alex.williamson> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.1 | CC: | llim, michen, mkenneth, virt-maint |
Target Milestone: | rc | Keywords: | RHELNAK |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-10-13 18:59:58 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
juzhang
2010-08-10 09:27:02 UTC
This issue has been proposed when we are only considering blocker issues in the current Red Hat Enterprise Linux release. ** If you would still like this issue considered for the current release, ask your support representative to file as a blocker on your behalf. Otherwise ask that it be considered for the next Red Hat Enterprise Linux release. ** This is because 'info pci' in the qemu monitor reports the value of the PCI_INTERRUPT_LINE register on the PCI device. This register is under control of the guest OS, and does not actually affect the interrupt routing of the device. Most guest OSes are ACPI aware and will instead make use of the PCI interrupt link devices that allow them to query and assign the actual GSI for the device. When they do this, they don't typically write the value back into the INTERRUPT_LINE register. Note that in the guest, you can use setpci to read the line register, which should always match 'info pci'. In step 4, you'd do: # setpci -s 00:03.0 INTERRUPT_LINE For Linux guests, you can also boot with the kernel parameter pci=noacpi, which will force the kernel to use the legacy interrupt mapping, which should then make lspci and info pci match. Also note that the device in question is using MSI interrupts, so while it's assigned an interrupt for the PCI interrupt PIN routing, it's not actually using it. If there's an actually need to try to be more precise in tracking the guest interrupt configuration, refile as an RFE. |