1. 28 6月, 2013 7 次提交
  2. 12 6月, 2013 1 次提交
  3. 11 6月, 2013 1 次提交
  4. 01 5月, 2013 5 次提交
  5. 12 3月, 2013 6 次提交
  6. 03 3月, 2013 1 次提交
    • P
      Handle CPU interrupts by inline checking of a flag · 378df4b2
      Peter Maydell 提交于
      Fix some of the nasty TCG race conditions and crashes by implementing
      cpu_exit() as setting a flag which is checked at the start of each TB.
      This avoids crashes if a thread or signal handler calls cpu_exit()
      while the execution thread is itself modifying the TB graph (which
      may happen in system emulation mode as well as in linux-user mode
      with a multithreaded guest binary).
      
      This fixes the crashes seen in LP:668799; however there are another
      class of crashes described in LP:1098729 which stem from the fact
      that in linux-user with a multithreaded guest all threads will
      use and modify the same global TCG date structures (including the
      generated code buffer) without any kind of locking. This means that
      multithreaded guest binaries are still in the "unsupported"
      category.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      378df4b2
  7. 16 2月, 2013 5 次提交
  8. 28 1月, 2013 1 次提交
    • A
      cpu: Unconditionalize CPUState fields · c03c520d
      Andreas Färber 提交于
      Commits fc8c5b8c (Makefile.user: Define
      CONFIG_USER_ONLY for libuser/) and
      dd83b06a (qom: Introduce CPU class)
      specifically prepared the qom/cpu.c file to be compiled differently for
      softmmu and *-user. This broke as part of build system refactorings
      while CPU patches were in flight, adding conditional fields
      kvm_fd (8737c51c) and
      kvm_vcpu_dirty (20d695a9) for softmmu.
      
      linux-user and bsd-user would therefore get a CPUState type with
      instance_size ~8 bytes longer than expected.
      Fix this by unconditionally having the fields in CPUState.
      
      In practice, target-specific CPU types' instance_size would compensate
      this, and upstream qom/cpu.c does not yet touch any affected field.
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com>
      c03c520d
  9. 27 1月, 2013 1 次提交
  10. 15 1月, 2013 4 次提交
  11. 09 1月, 2013 1 次提交
  12. 19 12月, 2012 2 次提交
  13. 31 10月, 2012 5 次提交