)]}'
{
  "commit": "9b938c7262e403f5467110609cb20ef1ae6e9df2",
  "tree": "a4d062e324c9eaa8a6d9432af65d1c5e40dd05ff",
  "parents": [
    "1a751ebfbb2d7a696b889d8208cb5ffc83c090b1"
  ],
  "author": {
    "name": "Stefan Hajnoczi",
    "email": "stefanha@redhat.com",
    "time": "Wed Mar 27 10:10:46 2013 +0100"
  },
  "committer": {
    "name": "Luiz Capitulino",
    "email": "lcapitulino@redhat.com",
    "time": "Tue Apr 02 11:47:37 2013 -0400"
  },
  "message": "chardev: clear O_NONBLOCK on SCM_RIGHTS file descriptors\n\nWhen we receive a file descriptor over a UNIX domain socket the\nO_NONBLOCK flag is preserved.  Clear the O_NONBLOCK flag and rely on\nQEMU file descriptor users like migration, SPICE, VNC, block layer, and\nothers to set non-blocking only when necessary.\n\nThis change ensures we don\u0027t accidentally expose O_NONBLOCK in the QMP\nAPI.  QMP clients should not need to get the non-blocking state\n\"correct\".\n\nA recent real-world example was when libvirt passed a non-blocking TCP\nsocket for migration where we expected a blocking socket.  The source\nQEMU produced a corrupted migration stream since its code did not cope\nwith non-blocking sockets.\n\nSigned-off-by: Stefan Hajnoczi \u003cstefanha@redhat.com\u003e\nReviewed-by: Eric Blake \u003ceblake@redhat.com\u003e\nSigned-off-by: Luiz Capitulino \u003clcapitulino@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4d8c6cab41c3826b77f4bc3b007e6ee6df33a74b",
      "old_mode": 33188,
      "old_path": "qemu-char.c",
      "new_id": "d825b60177a86ba7f3a9359fd01330cf2343c113",
      "new_mode": 33188,
      "new_path": "qemu-char.c"
    }
  ]
}
