]> xenbits.xensource.com Git - qemu-xen-4.1-testing.git/commit
passthough: add no_wb option for pci conf write
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 6 Nov 2009 18:11:50 +0000 (18:11 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 6 Nov 2009 18:11:50 +0000 (18:11 +0000)
commite2b98415256cb264bc25e6df539ec0dc9d1b85b0
treea55105b9525c7b29761a9b9a0eb73d041fac4e89
parentde6c06808e300b35368178a281660ae8acf64f66
passthough: add no_wb option for pci conf write

Current pt_pci_write_config always writes back to real pci conf
space. However, in the case of MSI address and data registers,
if guest changes the affinity of the interrupt, stale data will
be written to these registers. This is particularly a problem
if Xen uses per-CPU vector, where the interrupt in question fails
to work. This patch fixes this by adding an option to disable the
write back of certain controls.

Signed-off-by: Qing He <qing.he@intel.com>
hw/pass-through.c
hw/pass-through.h