]> xenbits.xensource.com Git - qemu-upstream-4.6-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, 9 Jun 2015 10:28:31 +0000 (10:28 +0000)
commit0090c14f57c3ffe07df4dd8d57f5a9481591c9ee
tree8e0c2d7ca4a61f391f38d6b71689630087267776
parent1f26a9bbce40a5f9651e1062a8ab9975e68d9f03
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