]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commit
xen: don't allow guest to control MSI mask register
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)
commit1ad0eaf917c4272e58c5ba79d11590023dcec1b6
tree847fcf3efc49fade415e12a57bef5b190a9eb3c6
parent8d3b4a8f8075d7e96a9bece8d8371c95b7be5f5a
xen: don't allow guest to control MSI mask register

It's being used by the hypervisor. For now simply mimic a device not
capable of masking, and fully emulate any accesses a guest may issue
nevertheless as simple reads/writes without side effects.

This is XSA-129.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/pci/msi.c
hw/xen/xen_pt_config_init.c
include/hw/pci/pci_regs.h