]> git.ipfire.org Git - thirdparty/qemu.git/commit
pci: avoid losing config updates to MSI/MSIX cap regs
authorKnut Omang <knut.omang@oracle.com>
Tue, 2 Sep 2014 11:00:04 +0000 (13:00 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 10 Sep 2014 14:30:57 +0000 (09:30 -0500)
commitff34ca00fd6380c8d82283849a369db96a732c2d
tree10d8b2e19a9fa196f55811e02483e561a1eb3a9f
parente685d2abf7ad55fcea10c27888073cca21ec3568
pci: avoid losing config updates to MSI/MSIX cap regs

Since
commit 95d658002401e2e47a5404298ebe9508846e8a39
    msi: Invoke msi/msix_write_config from PCI core
msix config writes are lost, the value written is always 0.

Fix pci_default_write_config to avoid this.

Cc: qemu-stable@nongnu.org
Signed-off-by: Knut Omang <knut.omang@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit d7efb7e08e5edaac23b0dc824f72c3f353447c39)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/pci/pci.c