]> xenbits.xensource.com Git - qemu-upstream-4.3-testing.git/commit
xen/MSI: don't open-code pass-through of enable bit modifications
authorJan Beulich <jbeulich@suse.com>
Tue, 2 Jun 2015 16:08:06 +0000 (16:08 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 2 Jun 2015 16:08:06 +0000 (16:08 +0000)
commit92794390f4952f7f3dcc22b9ad792af491c144c3
tree862b142527d9df71c1b600147589118b3b35cd7e
parent3ab4479f7ee28ed48f0b7a519302a8ee0158b99e
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_pt_config_init.c