)]}'
{
  "commit": "60253ed1e6ec6d8e5ef2efe7bf755f475dce9956",
  "tree": "6cf034176fb01e29274cf455b82cd6d68823d57a",
  "parents": [
    "9f14b0add1dcdbfa2ee61051d068211fb0a1fcc9"
  ],
  "author": {
    "name": "Ladi Prosek",
    "email": "lprosek@redhat.com",
    "time": "Thu Mar 03 09:37:18 2016 +0100"
  },
  "committer": {
    "name": "Amit Shah",
    "email": "amit.shah@redhat.com",
    "time": "Thu Mar 03 17:42:26 2016 +0530"
  },
  "message": "rng: add request queue support to rng-random\n\nRequests are now created in the RngBackend parent class and the\ncode path is shared by both rng-egd and rng-random.\n\nThis commit fixes the rng-random implementation which processed\nonly one request at a time and simply discarded all but the most\nrecent one. In the guest this manifested as delayed completion\nof reads from virtio-rng, i.e. a read was completed only after\nanother read was issued.\n\nBy switching rng-random to use the same request queue as rng-egd,\nthe unsafe stack-based allocation of the entropy buffer is\neliminated and replaced with g_malloc.\n\nSigned-off-by: Ladi Prosek \u003clprosek@redhat.com\u003e\nReviewed-by: Amit Shah \u003camit.shah@redhat.com\u003e\nMessage-Id: \u003c1456994238-9585-5-git-send-email-lprosek@redhat.com\u003e\nSigned-off-by: Amit Shah \u003camit.shah@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8f2bd16b186cca2084d6311c6221359cb3f9a11e",
      "old_mode": 33188,
      "old_path": "backends/rng-egd.c",
      "new_id": "30332edb811adea323d0458c8a372f674b3d7925",
      "new_mode": 33188,
      "new_path": "backends/rng-egd.c"
    },
    {
      "type": "modify",
      "old_id": "8cdad6af7bc36520776091e85be5cca7450524cf",
      "old_mode": 33188,
      "old_path": "backends/rng-random.c",
      "new_id": "a6cb3858e37fc1e15560873d4f26d8dcdf2ad0e2",
      "new_mode": 33188,
      "new_path": "backends/rng-random.c"
    },
    {
      "type": "modify",
      "old_id": "014cb9d0fe724b961648c5235f27d03d017820d0",
      "old_mode": 33188,
      "old_path": "backends/rng.c",
      "new_id": "277a41bb0f2c327315dc89e8a4b9b176e801040b",
      "new_mode": 33188,
      "new_path": "backends/rng.c"
    },
    {
      "type": "modify",
      "old_id": "08a2eda2a4772f176759d1b3eec0fe4c58041b37",
      "old_mode": 33188,
      "old_path": "include/sysemu/rng.h",
      "new_id": "4fffd681a632b1efd2625b5575058329f6c8ae1d",
      "new_mode": 33188,
      "new_path": "include/sysemu/rng.h"
    }
  ]
}
