]> xenbits.xensource.com Git - qemu-xen-4.3-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:14:25 +0000 (14:14 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 10 Jun 2015 13:14:25 +0000 (14:14 +0100)
commit1c8bd2b55744d18db7e3ff3084765ec30e1c0fd2
tree465993eb7a1ae969333b1f0555e54f848d0c67fb
parentbf53d1740edb05958c3e092e7c23cf9b1724cb06
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