)]}'
{
  "commit": "ee77dfb26a5c7972bd7100e910c7427bcb1c8cae",
  "tree": "78dcccfadca47b1adcfcbfea4d5608c8a1b5c123",
  "parents": [
    "6fbcef296a7e34b236d836cf7b42c38e78de6fb6"
  ],
  "author": {
    "name": "Michael Roth",
    "email": "mdroth@linux.vnet.ibm.com",
    "time": "Fri Jan 20 19:08:27 2012 -0600"
  },
  "committer": {
    "name": "Anthony Liguori",
    "email": "aliguori@us.ibm.com",
    "time": "Wed Feb 01 14:45:02 2012 -0600"
  },
  "message": "main-loop: Fix SetEvent() on uninitialized handle on win32\n\nThe __attribute__((constructor)) init_main_loop() automatically get\ncalled if qemu-tool.o is linked in. On win32, this leads to\na qemu_notify_event() call which attempts to SetEvent() on a HANDLE that\nwon\u0027t be initialized until qemu_init_main_loop() is manually called,\nbreaking qemu-tools.o programs on Windows at runtime.\n\nThis patch checks for an initialized event handle before attempting to\nset it, which is analoguous to how we deal with an unitialized\nio_thread_fd in the posix implementation.\n\nReviewed-by: Paolo Bonzini \u003cpbonzini@redhat.com\u003e\nSigned-off-by: Michael Roth \u003cmdroth@linux.vnet.ibm.com\u003e\nSigned-off-by: Michael Roth \u003cmdroth@linux.vnet.ibm.com\u003e\nSigned-off-by: Anthony Liguori \u003caliguori@us.ibm.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "692381cb19d63aa6691c61a49e9ddc0641c5f178",
      "old_mode": 33188,
      "old_path": "main-loop.c",
      "new_id": "62d95b96379e9c3cf265bf89308a1cb4229b732d",
      "new_mode": 33188,
      "new_path": "main-loop.c"
    }
  ]
}
