1. 19 5月, 2014 3 次提交
  2. 16 5月, 2014 1 次提交
  3. 14 5月, 2014 1 次提交
  4. 13 5月, 2014 5 次提交
  5. 10 5月, 2014 2 次提交
    • S
      glib: fix g_poll early timeout on windows · 5a007547
      Sangho Park 提交于
      g_poll has a problem on Windows when using
      timeouts < 10ms, in glib/gpoll.c:
      
      /* If not, and we have a significant timeout, poll again with
       * timeout then. Note that this will return indication for only
       * one event, or only for messages. We ignore timeouts less than
       * ten milliseconds as they are mostly pointless on Windows, the
       * MsgWaitForMultipleObjectsEx() call will timeout right away
       * anyway.
       */
      if (retval == 0 && (timeout == INFINITE || timeout >= 10))
        retval = poll_rest (poll_msgs, handles, nhandles, fds, nfds, timeout);
      
      so whenever g_poll is called with timeout < 10ms it does
      a quick poll instead of wait, this causes significant performance
      degradation of QEMU, thus we should use WaitForMultipleObjectsEx
      directly
      Signed-off-by: NStanislav Vorobiov <s.vorobiov@samsung.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      5a007547
    • K
      block: Fix open flags with BDRV_O_SNAPSHOT · b1e6fc08
      Kevin Wolf 提交于
      The immediately visible effect of this patch is that it fixes committing
      a temporary snapshot to its backing file. Previously, it would fail with
      a "permission denied" error because bdrv_inherited_flags() forced the
      backing file to be read-only, ignoring the r/w reopen of bdrv_commit().
      
      The bigger problem this revealed is that the original open flags must
      actually only be applied to the temporary snapshot, and the original
      image file must be treated as a backing file of the temporary snapshot
      and get the right flags for that.
      Reported-by: NJan Kiszka <jan.kiszka@web.de>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NMax Reitz <mreitz@redhat.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      b1e6fc08
  6. 09 5月, 2014 5 次提交
  7. 08 5月, 2014 5 次提交
  8. 07 5月, 2014 2 次提交
  9. 06 5月, 2014 10 次提交
  10. 05 5月, 2014 6 次提交