1. 20 11月, 2018 1 次提交
  2. 15 4月, 2016 1 次提交
  3. 14 9月, 2015 1 次提交
  4. 05 9月, 2015 1 次提交
    • M
      iotests: Do not suppress segfaults in bash tests · 934659c4
      Max Reitz 提交于
      Currently, if a qemu/qemu-io/qemu-img/qemu-nbd invocation receives a
      segmentation fault, that message is invisible in most cases since the
      output is generally filtered and bash suppresses the segmentation fault
      notice for any but the last element of a pipe.
      
      Most of the time, the test will then fail anyway because of missing
      output, but not necessarily (as happened with test 82 recently).
      
      Fix this by making the corresponding environment variables point to
      wrapper functions which execute the respective command in a subshell.
      
      Giving options to qemu/qemu-io/qemu-img and path names with spaces were
      broken for the Python tests; this patch "accidentally" fixes that.
      Signed-off-by: NMax Reitz <mreitz@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      934659c4
  5. 12 12月, 2014 1 次提交
  6. 28 6月, 2014 1 次提交
  7. 19 5月, 2014 1 次提交
  8. 15 5月, 2014 1 次提交
  9. 09 5月, 2014 1 次提交
  10. 04 4月, 2014 1 次提交
    • K
      qcow2: Flush metadata during read-only reopen · 4c2e5f8f
      Kevin Wolf 提交于
      If lazy refcounts are enabled for a backing file, committing to this
      backing file may leave it in a dirty state even if the commit succeeds.
      The reason is that the bdrv_flush() call in bdrv_commit() doesn't flush
      refcount updates with lazy refcounts enabled, and qcow2_reopen_prepare()
      doesn't take care to flush metadata.
      
      In order to fix this, this patch also fixes qcow2_mark_clean(), which
      contains another ineffective bdrv_flush() call beause lazy refcounts are
      disabled only afterwards. All existing callers of qcow2_mark_clean()
      either don't modify refcounts or already flush manually, so that this
      fixes only a latent, but not yet actually triggerable bug.
      
      Another instance of the same problem is live snapshots. Again, a real
      corruption is prevented by an explicit flush for non-read-only images in
      external_snapshot_prepare(), but images using lazy refcounts stay dirty.
      
      Cc: qemu-stable@nongnu.org
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
      4c2e5f8f
  11. 09 2月, 2014 1 次提交
  12. 04 12月, 2013 1 次提交
  13. 07 11月, 2013 1 次提交
  14. 27 9月, 2013 1 次提交
  15. 23 2月, 2013 1 次提交
  16. 10 8月, 2012 1 次提交
  17. 07 8月, 2012 1 次提交