]> xenbits.xensource.com Git - qemu-xen.git/commit
xen/MSI-X: latch MSI-X table writes
authorJan Beulich <JBeulich@suse.com>
Wed, 9 Dec 2015 15:45:29 +0000 (15:45 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 18 Jan 2016 16:09:23 +0000 (16:09 +0000)
commitb324ef9654764e09e3507ee4932deee9e24510b5
tree87a025245f4e178625690271738e26d4cdfeb21b
parent08e79a8eafa763b7a3b9b9896cf76e5d7fee0324
xen/MSI-X: latch MSI-X table writes

The remaining log message in pci_msix_write() is wrong, as there guest
behavior may only appear to be wrong: For one, the old logic didn't
take the mask-all bit into account. And then this shouldn't depend on
host device state (i.e. the host may have masked the entry without the
guest having done so). Plus these writes shouldn't be dropped even when
an entry gets unmasked. Instead, if they can't be made take effect
right away, they should take effect on the next unmasking or enabling
operation - the specification explicitly describes such caching
behavior.

upstream-commit-id: f0ada3608ac13cf13f4e2955ed348dc93a38ac45

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/xen/xen_pt.h
hw/xen/xen_pt_config_init.c
hw/xen/xen_pt_msi.c