A few patches to the MSI and MSI-X layer that clean up the interfaces and fix reset issues. They are from my MSI rework to prepare it for KVM's requirements (in-kernel irqchip).
CC: Alexander Graf <ag...@suse.de> CC: Gerd Hoffmann <kra...@redhat.com> Jan Kiszka (7): msi: Fix copy&paste mistake in msi_uninit msi: Guard msi/msix_write_config with msi_present msi: Guard msi_reset with msi_present msi: Use msi/msix_present more consistently ahci/intel-hda: Properly reset MSI state msix: Align MSI-X constants to libpci definitions and extend them msi: Move PCI_MSI_PENDING_32/64 into pci_regs.h hw/ide/ahci.c | 2 ++ hw/intel-hda.c | 8 +++----- hw/msi.c | 15 ++++++++------- hw/msix.c | 39 ++++++++++++++++++++------------------- hw/pci_regs.h | 16 ++++++++++------ 5 files changed, 43 insertions(+), 37 deletions(-)