xen: don't allow guest to control MSI mask register
commit7611dae8a69f0f1775ba1a9a942961c2aa10d88e
authorJan Beulich <jbeulich@suse.com>
Tue, 2 Jun 2015 15:07:00 +0000 (2 15:07 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 2 Jun 2015 15:07:00 +0000 (2 15:07 +0000)
tree5a010016cf807b0c8655bc68aca593dba016695d
parent5c83b2f5b4b956e91dd6e5711f14df7ab800aefb
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