1. 17 6月, 2009 2 次提交
  2. 16 6月, 2009 1 次提交
  3. 04 6月, 2009 1 次提交
    • N
      fix gdbstub support for multiple threads in usermode, v3 · 1e9fa730
      Nathan Froyd 提交于
      When debugging multi-threaded programs, QEMU's gdb stub would report the
      correct number of threads (the qfThreadInfo and qsThreadInfo packets).
      However, the stub was unable to actually switch between threads (the T
      packet), since it would report every thread except the first as being
      dead.  Furthermore, the stub relied upon cpu_index as a reliable means
      of assigning IDs to the threads.  This was a bad idea; if you have this
      sequence of events:
      
      initial thread created
      new thread #1
      new thread #2
      thread #1 exits
      new thread #3
      
      thread #3 will have the same cpu_index as thread #1, which would confuse
      GDB.  (This problem is partly due to the remote protocol not having a
      good way to send thread creation/destruction events.)
      
      We fix this by using the host thread ID for the identifier passed to GDB
      when debugging a multi-threaded userspace program.  The thread ID might
      wrap, but the same sort of problems with wrapping thread IDs would come
      up with debugging programs natively, so this doesn't represent a
      problem.
      Signed-off-by: NNathan Froyd <froydnj@codesourcery.com>
      1e9fa730
  4. 22 5月, 2009 2 次提交
  5. 04 5月, 2009 1 次提交
    • S
      Fix typos in comments in exec.c · ccbb4d44
      Stuart Brady 提交于
      This patch fixes several typos in comments in exec.c:
      
                  longet -> longer
             recommanded -> recommended
              ajustments -> adjustments
         inconsistancies -> inconsistencies
                 phsical -> physical
             positionned -> positioned
             succesfully -> successfully
            regon_offset -> region_offset
      
      and also:
      
            start_region -> start_addr
      Signed-off-by: NStuart Brady <stuart.brady@gmail.com>
      ccbb4d44
  6. 01 5月, 2009 2 次提交
  7. 25 4月, 2009 1 次提交
  8. 22 4月, 2009 1 次提交
  9. 19 4月, 2009 1 次提交
  10. 12 4月, 2009 1 次提交
  11. 11 4月, 2009 1 次提交
  12. 10 4月, 2009 1 次提交
  13. 08 4月, 2009 1 次提交
  14. 06 4月, 2009 1 次提交
  15. 29 3月, 2009 1 次提交
  16. 17 3月, 2009 1 次提交
  17. 13 3月, 2009 1 次提交
    • A
      Guest debugging support for KVM (Jan Kiszka) · e22a25c9
      aliguori 提交于
      This is a backport of the guest debugging support for the KVM
      accelerator that is now part of the KVM tree. It implements the reworked
      KVM kernel API for guest debugging (KVM_CAP_SET_GUEST_DEBUG) which is
      not yet part of any mainline kernel but will probably be 2.6.30 stuff.
      So far supported is x86, but PPC is expected to catch up soon.
      
      Core features are:
       - unlimited soft-breakpoints via code patching
       - hardware-assisted x86 breakpoints and watchpoints
      
      Changes in this version:
       - use generic hook cpu_synchronize_state to transfer registers between
         user space and kvm
       - push kvm_sw_breakpoints into KVMState
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6825 c046a42c-6fe2-441c-8c8c-71466251a162
      e22a25c9
  18. 08 3月, 2009 3 次提交
  19. 07 3月, 2009 3 次提交
  20. 23 2月, 2009 1 次提交
  21. 19 2月, 2009 1 次提交
    • A
      Fix cpu_physical_memory_rw() for 64-bit I/O accesses · 6c2934db
      aurel32 提交于
      KVM uses cpu_physical_memory_rw() to access the I/O devices. When a
      read or write with a length of 8-byte is requested, it is split into 2
      4-byte accesses.
      
      This has been broken in revision 5849. After this revision, only the
      first 4 bytes are actually read/write to the device, as the target
      address is changed, so on the next iteration of the loop the next 4
      bytes are actually read/written elsewhere (in the RAM for the graphic
      card).
      
      This patch fixes screen corruption (and most probably data corruption)
      with FreeBSD/amd64. Bug #2556746 in KVM bugzilla.
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6628 c046a42c-6fe2-441c-8c8c-71466251a162
      6c2934db
  22. 11 2月, 2009 1 次提交
  23. 06 2月, 2009 1 次提交
  24. 27 1月, 2009 1 次提交
  25. 23 1月, 2009 2 次提交
  26. 16 1月, 2009 3 次提交
  27. 05 1月, 2009 1 次提交
  28. 29 12月, 2008 1 次提交
  29. 10 12月, 2008 1 次提交
    • A
      KVM: Coalesced MMIO support · f65ed4c1
      aliguori 提交于
      MMIO exits are more expensive in KVM or Xen than in QEMU because they 
      involve, at least, privilege transitions.  However, MMIO write 
      operations can be effectively batched if those writes do not have side 
      effects.
      
      Good examples of this include VGA pixel operations when in a planar 
      mode.  As it turns out, we can get a nice boost in other areas too.  
      Laurent mentioned a 9.7% performance boost in iperf with the coalesced 
      MMIO changes for the e1000 when he originally posted this work for KVM.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5961 c046a42c-6fe2-441c-8c8c-71466251a162
      f65ed4c1
  30. 09 12月, 2008 1 次提交