diff options
author | Jan Beulich | 2015-06-02 17:07:00 +0200 |
---|---|---|
committer | Stefano Stabellini | 2015-06-02 17:07:00 +0200 |
commit | 7611dae8a69f0f1775ba1a9a942961c2aa10d88e (patch) | |
tree | 5a010016cf807b0c8655bc68aca593dba016695d /hw/pci/msi.c | |
parent | xen: properly gate host writes of modified PCI CFG contents (diff) | |
download | qemu-7611dae8a69f0f1775ba1a9a942961c2aa10d88e.tar.gz qemu-7611dae8a69f0f1775ba1a9a942961c2aa10d88e.tar.xz qemu-7611dae8a69f0f1775ba1a9a942961c2aa10d88e.zip |
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>
Diffstat (limited to 'hw/pci/msi.c')
-rw-r--r-- | hw/pci/msi.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/pci/msi.c b/hw/pci/msi.c index c111dbaff6..f9c0484420 100644 --- a/hw/pci/msi.c +++ b/hw/pci/msi.c @@ -21,10 +21,6 @@ #include "hw/pci/msi.h" #include "qemu/range.h" -/* Eventually those constants should go to Linux pci_regs.h */ -#define PCI_MSI_PENDING_32 0x10 -#define PCI_MSI_PENDING_64 0x14 - /* PCI_MSI_ADDRESS_LO */ #define PCI_MSI_ADDRESS_LO_MASK (~0x3) |