File 5708158d-x86-vMSI-X-fix-qword-write-covering-vector-control-field.patch of Package xen.11298
# Commit 7d8519f63ab703e519efe1e8a6d8ccd65b8a803b
# Date 2016-04-08 22:33:17 +0200
# Author Jan Beulich <jbeulich@suse.com>
# Committer Jan Beulich <jbeulich@suse.com>
x86/vMSI-X: fix qword write covering vector control field
Along with using the upper 32 bits of the written value, the address
also needs advancing, so that msix_write_completion() will use the
correct address for re-invocation of msixtbl_write().
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
--- a/xen/arch/x86/hvm/vmsi.c
+++ b/xen/arch/x86/hvm/vmsi.c
@@ -314,6 +314,7 @@ static int msixtbl_write(struct vcpu *v,
if ( len != 8 || !index )
goto out;
val >>= 32;
+ address += 4;
}
/* Exit to device model when unmasking and address/data got modified. */