1. 02 2月, 2013 1 次提交
    • E
      libqtest: Wait for the right child PID after killing QEMU · 6bf00766
      Eduardo Habkost 提交于
      When running "make check" with gcov enabled, we get the following
      message:
      
         hw/tmp105.gcda:cannot open data file, assuming not executed
      
      The problem happens because:
      
       * tmp105-test exits before QEMU exits, because waitpid() at
         qtest_quit() fails;
       * waitpid() fails because there's another process already
         waiting for the QEMU process;
       * The process that is already waiting for QEMU is the child created by
         qtest_init() to run system();
       * qtest_quit() is incorrectly waiting for the QEMU PID directly instead
         of the child created by qtest_init().
      
      This fixes the problem by sending SIGTERM to QEMU, but waiting for the
      child process created by qtest_init() (that exits immediately after QEMU
      exits).
      Reported-by: NAndreas Färber <afaerber@suse.de>
      Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      6bf00766
  2. 01 2月, 2013 4 次提交
  3. 30 1月, 2013 1 次提交
  4. 27 1月, 2013 1 次提交
  5. 26 1月, 2013 9 次提交
  6. 17 1月, 2013 3 次提交
  7. 13 1月, 2013 8 次提交
  8. 10 1月, 2013 2 次提交
  9. 08 1月, 2013 1 次提交
  10. 06 1月, 2013 1 次提交
  11. 02 1月, 2013 1 次提交
  12. 01 1月, 2013 2 次提交
  13. 19 12月, 2012 5 次提交
  14. 12 12月, 2012 1 次提交