]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commit
xen/MSI: don't open-code pass-through of enable bit modifications
authorJan Beulich <jbeulich@suse.com>
Tue, 2 Jun 2015 15:43:07 +0000 (15:43 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 2 Jun 2015 15:43:07 +0000 (15:43 +0000)
commit8317c63d900c780baa93ecc71854f5c8cbcc5874
tree39ce6c9bf75b45621c7616143cba57c5d1675914
parentfd2b465eedefd746a7e3f85f7eeaa98bda676fba
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/xen/xen_pt_config_init.c