)]}'
{
  "commit": "c65bcef30659442a45ed0842de80d246d0162fd7",
  "tree": "618cbb6e19627aef4627b15ba6380306530dd3f9",
  "parents": [
    "9ac6a217f26d2044929ac4261826d24cc8c3dda5"
  ],
  "author": {
    "name": "David Gibson",
    "email": "david@gibson.dropbear.id.au",
    "time": "Wed Jun 27 14:50:40 2012 +1000"
  },
  "committer": {
    "name": "Anthony Liguori",
    "email": "aliguori@us.ibm.com",
    "time": "Wed Jun 27 16:33:25 2012 -0500"
  },
  "message": "iommu: Make sglists and dma_bdrv helpers use new universal DMA helpers\n\ndma-helpers.c contains a number of helper functions for doing\nscatter/gather DMA, and various block device related DMA.  Currently,\nthese directly access guest memory using cpu_physical_memory_*(),\nassuming no IOMMU translation.\n\nThis patch updates this code to use the new universal DMA helper\nfunctions.  qemu_sglist_init() now takes a DMAContext * to describe\nthe DMA address space in which the scatter/gather will take place.\n\nWe minimally update the callers qemu_sglist_init() to pass NULL\n(i.e. no translation, same as current behaviour).  Some of those\ncallers should pass something else in some cases to allow proper IOMMU\ntranslation in future, but that will be fixed in later patches.\n\nCc: Kevin Wolf \u003ckwolf@redhat.com\u003e\nCc: Michael S. Tsirkin \u003cmst@redhat.com\u003e\nCc: Paolo Bonzini \u003cpbonzini@redhat.com\u003e\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\nSigned-off-by: Benjamin Herrenschmidt \u003cbenh@kernel.crashing.org\u003e\nSigned-off-by: Anthony Liguori \u003caliguori@us.ibm.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5265132edf435f221cd27b331d7008d2b6bf0f2b",
      "old_mode": 33188,
      "old_path": "dma-helpers.c",
      "new_id": "4c9e529620f7841e7fb4a5c0ec10ada98cc524c1",
      "new_mode": 33188,
      "new_path": "dma-helpers.c"
    },
    {
      "type": "modify",
      "old_id": "8912dfcb6e9703669372b6ebf7321cc50e9c8b17",
      "old_mode": 33188,
      "old_path": "dma.h",
      "new_id": "e93076abe0fff39a6d3572c050b7186e19f87e17",
      "new_mode": 33188,
      "new_path": "dma.h"
    },
    {
      "type": "modify",
      "old_id": "e275e68934ccba165361df6361b973f0a40fff3c",
      "old_mode": 33188,
      "old_path": "hw/ide/ahci.c",
      "new_id": "6c4226da829a742da402c53da69186ed6aa36465",
      "new_mode": 33188,
      "new_path": "hw/ide/ahci.c"
    },
    {
      "type": "modify",
      "old_id": "7b38d9e68338fc87163daba6d2b2a43bb275e906",
      "old_mode": 33188,
      "old_path": "hw/ide/macio.c",
      "new_id": "848cb31429c962eb1556fc8bfd2b5a364eca1b22",
      "new_mode": 33188,
      "new_path": "hw/ide/macio.c"
    },
    {
      "type": "modify",
      "old_id": "f148613a8e699895dd72ce666612ea551742f02f",
      "old_mode": 33188,
      "old_path": "hw/pci.h",
      "new_id": "ee14a7f7d462749774ad5f070f11ea3a87647d73",
      "new_mode": 33188,
      "new_path": "hw/pci.h"
    }
  ]
}
