mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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>
This commit is contained in:
1 parent
37fa335a95
commit
7d8519f63a
1 file changed
+1
@@ -295,6 +295,7 @@ static int msixtbl_write(struct vcpu *v, unsigned long address,
|
||||
if ( len != 8 || !index )
|
||||
goto out;
|
||||
val >>= 32;
|
||||
address += 4;
|
||||
}
|
||||
|
||||
/* Exit to device model when unmasking and address/data got modified. */
|
||||
|
||||