1. 03 2月, 2016 1 次提交
    • M
      Revert "hw/block/fdc: Implement tray status" · abb3e55b
      Max Reitz 提交于
      This reverts the changes that commit
      2e1280e8 applied to hw/block/fdc.c;
      also, an additional case of drv->media_inserted use has crept in since,
      which is replaced by a call to blk_is_inserted().
      
      That commit changed tests/fdc-test.c, too, because after it, one less
      TRAY_MOVED event would be emitted when executing 'change' on an empty
      drive. However, now, no TRAY_MOVED events will be emitted at all, and
      the tray_open status returned by query-block will always be false,
      necessitating (different) changes to tests/fdc-test.c and iotest 118,
      which is why this patch is not a pure revert of said commit.
      Signed-off-by: NMax Reitz <mreitz@redhat.com>
      Message-id: 1454096953-31773-4-git-send-email-mreitz@redhat.com
      Reviewed-by: NEric Blake <eblake@redhat.com>
      abb3e55b
  2. 26 1月, 2016 1 次提交
  3. 24 10月, 2015 1 次提交
  4. 03 6月, 2015 1 次提交
  5. 10 12月, 2014 1 次提交
  6. 18 7月, 2014 1 次提交
  7. 01 7月, 2014 1 次提交
    • P
      libqtest: escape strings in QMP commands, fix leak · 563890c7
      Paolo Bonzini 提交于
      libqtest is using g_strdup_printf to format QMP commands, but
      this does not work if the argument strings need to be escaped.
      Instead, use the fancy %-formatting functionality of QObject.
      The only change required in tests is that strings have to be
      formatted as %s, not '%s' or \"%s\".  Luckily this usage of
      parameterized QMP commands is not that frequent.
      
      The leak is in socket_sendf.  Since we are extracting the send
      loop to a new function, fix it now.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      563890c7
  8. 22 1月, 2014 1 次提交
  9. 07 11月, 2013 1 次提交
  10. 19 7月, 2013 1 次提交
  11. 15 11月, 2012 6 次提交
  12. 17 7月, 2012 2 次提交
  13. 09 7月, 2012 2 次提交
  14. 22 6月, 2012 1 次提交
  15. 15 6月, 2012 1 次提交
  16. 26 5月, 2012 1 次提交
  17. 10 5月, 2012 1 次提交