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:
Jan Beulich committed 2016-04-08 22:33:17 +02:00
1 parent 37fa335a95
commit 7d8519f63a
1 file changed
+1
+1
View File
@@ -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. */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.