)]}'
{
  "commit": "8e86b93c2b69a7369aa62a6daec203fe5e757497",
  "tree": "15625220161591ccea5b760795cd1a2f6450fed5",
  "parents": [
    "92336855975805d88c7979f53bc05c2d47abab04"
  ],
  "author": {
    "name": "Paolo Bonzini",
    "email": "pbonzini@redhat.com",
    "time": "Mon Jul 09 12:06:28 2012 +0200"
  },
  "committer": {
    "name": "Gerd Hoffmann",
    "email": "kraxel@redhat.com",
    "time": "Tue Jul 10 13:35:05 2012 +0200"
  },
  "message": "scsi: add free_request callback\n\nMost device models have a simple lifecycle for the hba_private field\nand they can free it when a request is completed or cancelled.\nHowever, in some cases it may be simpler to tie the lifetime\nof hba_private to that of the included SCSIRequest.  This patch\nadds a free_request callback to SCSIBusInfo that lets an HBA\ndevice model do exactly that.\n\nNormally, device models use req-\u003ehba_private \u003d\u003d NULL to flag requests\nthat have been completed already.  Device models that use free_request\nwill still need to track this using a flag.  This is the reason why\n\"converting\" existing HBAs to use free_request adds complexity and\nmakes little sense.  It is simply an additional convenience that is\nprovided by the SCSI layer.  USB-attached storage will be the first\nuser.\n\nSigned-off-by: Paolo Bonzini \u003cpbonzini@redhat.com\u003e\nSigned-off-by: Gerd Hoffmann \u003ckraxel@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5ad1013be1e25cc15bf63ce13534a943feef70aa",
      "old_mode": 33188,
      "old_path": "hw/scsi-bus.c",
      "new_id": "dc7406389db4d2d9b0009201e71118dd8bae85e1",
      "new_mode": 33188,
      "new_path": "hw/scsi-bus.c"
    },
    {
      "type": "modify",
      "old_id": "76f06d41de19228e63a70ec496c9a930aeedc84b",
      "old_mode": 33188,
      "old_path": "hw/scsi.h",
      "new_id": "367a346020edbb5bc9ed7645dc7e1a0cbce4be1d",
      "new_mode": 33188,
      "new_path": "hw/scsi.h"
    }
  ]
}
