)]}'
{
  "commit": "c7c2ff0c7e5d2c04fc612d74caab19b41c52c2e9",
  "tree": "82f6ed49bf15b78c0bbc14f8e4b40836f3578d2a",
  "parents": [
    "10601bef566461efbea81ee344ed3355ce71954a"
  ],
  "author": {
    "name": "Luiz Capitulino",
    "email": "lcapitulino@redhat.com",
    "time": "Fri Aug 29 16:07:27 2014 -0400"
  },
  "committer": {
    "name": "Kevin Wolf",
    "email": "kwolf@redhat.com",
    "time": "Wed Sep 10 10:41:29 2014 +0200"
  },
  "message": "block: extend BLOCK_IO_ERROR event with nospace indicator\n\nManagement software, such as RHEV\u0027s vdsm, want to be able to allocate\ndisk space on demand. The basic use case is to start a VM with a small\ndisk and then the disk is enlarged when QEMU hits a ENOSPC condition.\n\nTo this end, the management software has to be notified when QEMU\nencounters ENOSPC. The solution implemented by this commit is simple:\nit extends the BLOCK_IO_ERROR with a \u0027nospace\u0027 key, which is true\nwhen QEMU is stopped due to ENOSPC.\n\nNote that support for querying this event is already present in\nquery-block by means of the \u0027io-status\u0027 key. Also, the new \u0027nospace\u0027\nBLOCK_IO_ERROR field shares the same semantics with \u0027io-status\u0027,\nwhich basically means that werror\u003d has to be set to either\n\u0027stop\u0027 or \u0027enospc\u0027 to enable \u0027nospace\u0027.\n\nFinally, this commit also updates the \u0027io-status\u0027 key doc in the\nschema with a list of supported device models.\n\nSigned-off-by: Luiz Capitulino \u003clcapitulino@redhat.com\u003e\nReviewed-by: Eric Blake \u003ceblake@redhat.com\u003e\nSigned-off-by: Kevin Wolf \u003ckwolf@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d06dd516326c9d3310034f1d87143bfeb5f4952a",
      "old_mode": 33188,
      "old_path": "block.c",
      "new_id": "460effe4fb349af76baacf8cc1de4a84b5180cdc",
      "new_mode": 33188,
      "new_path": "block.c"
    },
    {
      "type": "modify",
      "old_id": "a685d0272839ad39a0200ff893d0026a907ff68b",
      "old_mode": 33188,
      "old_path": "qapi/block-core.json",
      "new_id": "68945c26b24ade08a35e20590d747120a9788a7f",
      "new_mode": 33188,
      "new_path": "qapi/block-core.json"
    }
  ]
}
