]> git.ipfire.org Git - thirdparty/qemu.git/commit
pcie_aer: clear cmask for Advanced Error Interrupt Message Number
authorJason Baron <jbaron@redhat.com>
Tue, 4 Sep 2012 20:22:46 +0000 (16:22 -0400)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 9 Oct 2012 06:58:29 +0000 (01:58 -0500)
commit4382057785cc3e8c674977300dafced0e3be9f7b
tree18ba9f07d3a4178186b59ad35a5aaf478cb2cd81
parent6ac46e32164002183aeda3dde0b82afca72f9131
pcie_aer: clear cmask for Advanced Error Interrupt Message Number

The Advanced Error Interrupt Message Number (bits 31:27 of the Root
Error Status Register) is updated when the number of msi messages assigned to a
device changes. Migration of windows 7 on q35 chipset failed because the check
in get_pci_config_device() fails due to cmask being set on these bits. Its valid
to update these bits and we must restore this state across migration.

Signed-off-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 0e180d9c8a7429c55d23d2e7855f1e490a063aaa)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/pcie_aer.c