1. 13 4月, 2010 1 次提交
  2. 07 4月, 2010 1 次提交
    • P
      fix 100% cpu utilization when cpu is stopped · 55274a30
      Paolo Bonzini 提交于
      > Hello,
      >
      > d6f4ade2 (disentangle tcg and deadline calculation, 2010-03-10)
      > introduces following regression(s):
      >
      > 100% cpu utilization when QEMU is invoked like:
      > qemu -S -s ...
      >
      > ditto when gdb takes control over the session via gdb-stub
      > (i.e. the breakpoint is hit or C-c is pressed inside gdb to
      >   interrupt the attached qemu instance)
      
      The bug is that env->stopped is not really as comprehensive as it seems to
      be (and cpu_has_work thinks); it is only valid with iothread basically,
      and even then it is cleared by reset and it is not set when starting
      qemu with -S.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Cc: malc <av1474@comtv.ru>
      Signed-off-by: Nmalc <av1474@comtv.ru>
      55274a30
  3. 30 3月, 2010 2 次提交