)]}'
{
  "commit": "5a0f6fd5c84573387056e0464a7fc0c6fb70b2dc",
  "tree": "21b36dcf76f149c0bc3272c2a571ee0825db6647",
  "parents": [
    "bc3a7f90ff44037bbe898708081db23a08fa7189"
  ],
  "author": {
    "name": "Kevin Wolf",
    "email": "kwolf@redhat.com",
    "time": "Tue Jul 01 16:52:21 2014 +0200"
  },
  "committer": {
    "name": "Stefan Hajnoczi",
    "email": "stefanha@redhat.com",
    "time": "Mon Jul 07 09:15:29 2014 +0200"
  },
  "message": "mirror: Fix qiov size for short requests\n\nWhen mirroring an image of a size that is not a multiple of the\nmirror job granularity, the last request would have the right nb_sectors\nargument, but a qiov that is rounded up to the next multiple of the\ngranularity. Don\u0027t do this.\n\nThis fixes a segfault that is caused by raw-posix being confused by this\nand allocating a buffer with request length, but operating on it with\nqiov length.\n\n[s/Driver/Drive/ in qemu-iotests 041 as suggested by Eric\n--Stefan]\n\nReported-by: Eric Blake \u003ceblake@redhat.com\u003e\nSigned-off-by: Kevin Wolf \u003ckwolf@redhat.com\u003e\nTested-by: Eric Blake \u003ceblake@redhat.com\u003e\nReviewed-by: Eric Blake \u003ceblake@redhat.com\u003e\nSigned-off-by: Stefan Hajnoczi \u003cstefanha@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6c3ee7041c8234952daf8025830df06a73ed3135",
      "old_mode": 33188,
      "old_path": "block/mirror.c",
      "new_id": "c7a655fc585b2bcd4bc8e6abb27fad9c212ecdc9",
      "new_mode": 33188,
      "new_path": "block/mirror.c"
    },
    {
      "type": "modify",
      "old_id": "0815e192740b804db31082ee79c912d728a40677",
      "old_mode": 33261,
      "old_path": "tests/qemu-iotests/041",
      "new_id": "005090ecc2321eb5dd8a2d4331988ade482d8aef",
      "new_mode": 33261,
      "new_path": "tests/qemu-iotests/041"
    },
    {
      "type": "modify",
      "old_id": "42147c0b581f82d5dcf1ace68b29a0a64cc88d6e",
      "old_mode": 33188,
      "old_path": "tests/qemu-iotests/041.out",
      "new_id": "24093bc63129cc04d4efb2a35af99d5abb472225",
      "new_mode": 33188,
      "new_path": "tests/qemu-iotests/041.out"
    }
  ]
}
