)]}'
{
  "commit": "6b383c08c46468ecee98ecf71ffd8362e9bd7f42",
  "tree": "f20fff4be610d7706f5ff24327d05c6a40831ea0",
  "parents": [
    "a8b10c6ead7f62e8eadbdaf944f371889c3c4c29"
  ],
  "author": {
    "name": "Peter Wu",
    "email": "peter@lekensteyn.nl",
    "time": "Tue Jan 06 18:48:14 2015 +0100"
  },
  "committer": {
    "name": "Kevin Wolf",
    "email": "kwolf@redhat.com",
    "time": "Fri Feb 06 17:24:21 2015 +0100"
  },
  "message": "block/dmg: support bzip2 block entry types\n\nThis patch adds support for bzip2-compressed block entries as introduced\nwith OS X 10.4 (source: https://en.wikipedia.org/wiki/Apple_Disk_Image).\n\nIt was tested against a 5.2G \"OS X Yosemite\" installation image which\nstores the BLXX block in the XML property list (instead of resource\nforks) and has over 5k chunks.\n\nNew configure entries are added (--enable-bzip2 / --disable-bzip2) to\ncontrol inclusion of bzip2 functionality (which requires linking against\nlibbz2). The help message suggests that this option is needed for DMG\nfiles, but the tests are generic enough that other parts of QEMU can use\nbzip2 if needed.\n\nThe identifiers are based on http://newosxbook.com/DMG.html.\n\nThe decompression routines are based on the zlib case, but as there is\nno way to reset the decompression state (unlike zlib), memory is\nallocated and deallocated for every decompression. This should not be\nproblematic as the decompression takes most of the time and as blocks\nare typically about/over 1 MiB in size, only one allocation is done\nevery 2000 sectors.\n\nSigned-off-by: Peter Wu \u003cpeter@lekensteyn.nl\u003e\nReviewed-by: John Snow \u003cjsnow@redhat.com\u003e\nAcked-by: Paolo Bonzini \u003cpbonzini@redhat.com\u003e\nMessage-id: 1420566495-13284-12-git-send-email-peter@lekensteyn.nl\nSigned-off-by: Stefan Hajnoczi \u003cstefanha@redhat.com\u003e\nSigned-off-by: Kevin Wolf \u003ckwolf@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "010afad71ab9b79b7a0b707040a732c1c2ff19f9",
      "old_mode": 33188,
      "old_path": "block/Makefile.objs",
      "new_id": "db2933e4699fbcbae3b00e40af8d27b72eb299ab",
      "new_mode": 33188,
      "new_path": "block/Makefile.objs"
    },
    {
      "type": "modify",
      "old_id": "cc584b55aa3b74dc0c7d57b3d5e5ca781c2c81a7",
      "old_mode": 33188,
      "old_path": "block/dmg.c",
      "new_id": "797fda3ec8c979baffdf52a36889b81e2b678d6c",
      "new_mode": 33188,
      "new_path": "block/dmg.c"
    },
    {
      "type": "modify",
      "old_id": "e00e03af32c9a340178f9777f85c3c8bc37f314b",
      "old_mode": 33261,
      "old_path": "configure",
      "new_id": "7ba4bcb8662c1efd85555f70d071b62fe7f699f0",
      "new_mode": 33261,
      "new_path": "configure"
    }
  ]
}
