]> xenbits.xensource.com Git - qemu-upstream-4.4-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:55:24 +0000 (15:55 +0000)
commit392fa0de86ad76aa803b22b87ba89f885d56d145
tree90c20fd63f5745601c861f93f00de90af63817c5
parent6f2eba230a58dca80266df094a26dce5013df549
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