xen/MSI: don't open-code pass-through of enable bit modifications
commitd1d35cf4ffb6a60a356193397919e83306d0bb74
authorJan Beulich <jbeulich@suse.com>
Tue, 2 Jun 2015 15:07:01 +0000 (2 15:07 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 2 Jun 2015 15:07:01 +0000 (2 15:07 +0000)
tree7fb4adf2f8ad149976b465eac234a10d3d2b38f9
parentb38ec5ee7a581776bbce0bdaecb397632c3c4791
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