)]}'
{
  "commit": "5d186eb03eb37b257e29a4731ca484362d5fc4e4",
  "tree": "ffa427b0c9df054073f6b9fb17b016697a9339dc",
  "parents": [
    "ecdd5333ab9ed3f2b848066aaaef02c027b25e36"
  ],
  "author": {
    "name": "Kevin Wolf",
    "email": "kwolf@redhat.com",
    "time": "Wed Mar 27 17:28:18 2013 +0100"
  },
  "committer": {
    "name": "Stefan Hajnoczi",
    "email": "stefanha@redhat.com",
    "time": "Thu Mar 28 11:58:40 2013 +0100"
  },
  "message": "block: Fix direct use of protocols as driver for bdrv_open()\n\nbdrv_open_common() implements direct use of protocols by copying the\npre-opened BlockDriverStates to bs using bdrv_swap(). It did however\nfirst set some fields in bs, which end up in file after the swap. When\nbdrv_open() destroys file, it appears to be open, and because it isn\u0027t,\nqemu could segfault while trying to close it.\n\nReorder the operations to return immediately in such cases so that file\nis correctly detected as closed.\n\nSigned-off-by: Kevin Wolf \u003ckwolf@redhat.com\u003e\nSigned-off-by: Stefan Hajnoczi \u003cstefanha@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "16a92a4e088b266655d0763e7c6fa1ccc6315f54",
      "old_mode": 33188,
      "old_path": "block.c",
      "new_id": "0ae2e93982f6dcc3cd94e7e56eefb901227891ec",
      "new_mode": 33188,
      "new_path": "block.c"
    }
  ]
}
