]> xenbits.xensource.com Git - qemu-xen-4.4-testing.git/commit
xen/MSI: don't open-code pass-through of enable bit modifications
authorJan Beulich <jbeulich@suse.com>
Wed, 10 Jun 2015 13:12:16 +0000 (14:12 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 10 Jun 2015 13:12:16 +0000 (14:12 +0100)
commit2736dd507ab8dee5abb8f046a36420c8c12638bf
tree3a3826085acd80c39227cdb02eb9c730110c4c71
parent6d7cdb148912a320a1d329552a3db788ac24157c
xen/MSI: don't open-code pass-through of enable bit modifications

Without this the actual XSA-131 fix would cause the enable bit to not
get set anymore (due to the write back getting suppressed there based
on the OR of emu_mask, ro_mask, and res_mask).

Note that the fiddling with the enable bit shouldn't really be done by
qemu, but making this work right (via libxc and the hypervisor) will
require more extensive changes, which can be postponed until after the
security issue got addressed.

This is a preparatory patch for XSA-131.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/pass-through.c