)]}'
{
  "commit": "48c043d0d1835c64b571c484a9f229fe6d220287",
  "tree": "44f8e8c78c451dba08412992c0c471b370190479",
  "parents": [
    "e1f2641b5926d20f63d36f0de45206be774da8da"
  ],
  "author": {
    "name": "Luiz Capitulino",
    "email": "lcapitulino@redhat.com",
    "time": "Tue Apr 02 15:07:33 2013 -0400"
  },
  "committer": {
    "name": "Luiz Capitulino",
    "email": "lcapitulino@redhat.com",
    "time": "Fri Apr 05 08:42:29 2013 -0400"
  },
  "message": "hmp: human-monitor-command: stop using the Memory chardev driver\n\nThe Memory chardev driver was added because, as the Monitor\u0027s output\nbuffer was static, we needed a way to accumulate the output of an\nHMP commmand when ran by human-monitor-command.\n\nHowever, the Monitor\u0027s output buffer is now dynamic, so it\u0027s possible\nfor the human-monitor-command to use it instead of the Memory chardev\ndriver.\n\nThis commit does that change, but there are two important\nobservations about it:\n\n 1. We need a way to signal to the Monitor that it shouldn\u0027t call\n    chardev functions when flushing its output. This is done\n    by adding a new flag to the Monitor object called skip_flush\n\t(which is set to true by qmp_human_monitor_command())\n\n 2. The current code has buffered semantics: QMP clients will\n    only see a command\u0027s output if it flushes its output with\n\ta new-line character. This commit changes this to unbuffered,\n\twhich means that QMP clients will see a command\u0027s output\n\twhenever the command prints anything.\n\n\tI don\u0027t think this will matter in practice though, as I believe\n\tall HMP commands print the new-line character anyway.\n\nSigned-off-by: Luiz Capitulino \u003clcapitulino@redhat.com\u003e\nReviewed-by: Eric Blake \u003ceblake@redhat.com\u003e\nAcked-by: Gerd Hoffmann \u003ckraxel@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8712c5362673912182df18dd600059688126ec3c",
      "old_mode": 33188,
      "old_path": "monitor.c",
      "new_id": "b4bda7777e4405503a994631d564ca55afc4516e",
      "new_mode": 33188,
      "new_path": "monitor.c"
    }
  ]
}
