)]}'
{
  "commit": "9eda7d373e9c691c070eddcbe3467b991f67f6bd",
  "tree": "79b9f450dd31dc5ab348b4620ea2852d993181ab",
  "parents": [
    "1ae2757c6c4525c9b42f408c86818f843bad7418"
  ],
  "author": {
    "name": "Alexey Kardashevskiy",
    "email": "aik@ozlabs.ru",
    "time": "Sat Aug 10 01:09:08 2013 +1000"
  },
  "committer": {
    "name": "Michael S. Tsirkin",
    "email": "mst@redhat.com",
    "time": "Tue Aug 27 08:30:48 2013 +0300"
  },
  "message": "pci: Introduce helper to retrieve a PCI device\u0027s DMA address space\n\nA PCI device\u0027s DMA address space (possibly an IOMMU) is returned by a\nmethod on the PCIBus.  At the moment that only has one caller, so the\nmethod is simply open coded.  We\u0027ll need another caller for VFIO, so\nthis patch introduces a helper/wrapper function.\n\nIf IOMMU is not set, the pci_device_iommu_address_space() function\nreturns the parent\u0027s IOMMU skipping the \"bus master\" address space as\notherwise proper emulation would require more effort for no benefit.\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n[aik: added inheritance from parent if iommu is not set for the current bus]\nSigned-off-by: Alexey Kardashevskiy \u003caik@ozlabs.ru\u003e\nSigned-off-by: Michael S. Tsirkin \u003cmst@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4c004f5daa02254051577cc9d7f103e5164c7a14",
      "old_mode": 33188,
      "old_path": "hw/pci/pci.c",
      "new_id": "8c33352c9a716aea5ab8249c73f06e2ef0af011e",
      "new_mode": 33188,
      "new_path": "hw/pci/pci.c"
    },
    {
      "type": "modify",
      "old_id": "ccec2bac318ac25b71a065c5f0ad0ca67a8ee9bd",
      "old_mode": 33188,
      "old_path": "include/hw/pci/pci.h",
      "new_id": "2374aa95ba48acd741501b02db26ed0c1f7db139",
      "new_mode": 33188,
      "new_path": "include/hw/pci/pci.h"
    }
  ]
}
