]> git.proxmox.com Git - mirror_qemu.git/commit
hw/pci: partially handle pci master abort
authorMarcel Apfelbaum <marcel.a@redhat.com>
Mon, 16 Sep 2013 08:21:16 +0000 (11:21 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 14 Oct 2013 14:11:44 +0000 (17:11 +0300)
commita53ae8e934cd54686875b5bcfc2f434244ee55d6
tree0430a9b323ff0a4262a27d67a912828abf526f7d
parent8002ccd6e4c5c52210c5fc886f7bf88fd707c2df
hw/pci: partially handle pci master abort

A MemoryRegion with negative priority was created and
it spans over all the pci address space.
It "intercepts" the accesses to unassigned pci
address space and will follow the pci spec:
 1. returns -1 on read
 2. does nothing on write

Note: setting the RECEIVED MASTER ABORT bit in the STATUS register
      of the device that initiated the transaction will be
      implemented in another series

Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pci.c
include/hw/pci/pci_bus.h