1. 04 2月, 2010 1 次提交
  2. 19 12月, 2009 1 次提交
  3. 12 12月, 2009 1 次提交
  4. 02 10月, 2009 2 次提交
  5. 12 9月, 2009 1 次提交
    • B
      Fix sys-queue.h conflict for good · 72cf2d4f
      Blue Swirl 提交于
      Problem: Our file sys-queue.h is a copy of the BSD file, but there are
      some additions and it's not entirely compatible. Because of that, there have
      been conflicts with system headers on BSD systems. Some hacks have been
      introduced in the commits 15cc9235,
      f40d7537,
      96555a96 and
      3990d09a but the fixes were fragile.
      
      Solution: Avoid the conflict entirely by renaming the functions and the
      file. Revert the previous hacks.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      72cf2d4f
  6. 28 8月, 2009 1 次提交
    • A
      extend -smp parsing to include cores= and threads= options · dc6b1c09
      Andre Przywara 提交于
      For injecting multi-core and multi-threading CPU topology into guests
      extend the -smp syntax to accommodate cores and threads specification.
      Syntax: -smp smp_value[,cores=nr_cores][,threads=nr_threads]\
      [,socket=nr_sockets][,maxcpus=max_cpus]
      smp_value is the legacy value specifying the total number of vCPUs for
      the guest. If you specify one of cores, threads or sockets this value
      can be omitted. Missing values will be computed to fulfill:
      smp_value = nr_cores * nr_threads * nr_sockets
      where it will favour sockets over cores over threads (to mimic the
      current behavior, which will only inject multiple sockets.)
      So -smp 4,threads=2 will inject two sockets with 2 threads each,
      -smp cores=4 is an abbreviation for -smp 4,cores=4,threads=1,sockets=1.
      If max_cpus (the number of hotpluggable CPUs) is omitted, it will
      be set to smp_value.
      Signed-off-by: NAndre Przywara <andre.przywara@amd.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      dc6b1c09
  7. 28 7月, 2009 1 次提交
  8. 17 7月, 2009 1 次提交
  9. 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
  10. 19 5月, 2009 1 次提交
    • P
      Hardware convenience library · 1ad2134f
      Paul Brook 提交于
      The only target dependency for most hardware is sizeof(target_phys_addr_t).
      Build these files into a convenience library, and use that instead of
      building for every target.
      
      Remove and poison various target specific macros to avoid bogus target
      dependencies creeping back in.
      
      Big/Little endian is not handled because devices should not know or care
      about this to start with.
      Signed-off-by: NPaul Brook <paul@codesourcery.com>
      1ad2134f
  11. 25 4月, 2009 1 次提交
  12. 22 4月, 2009 1 次提交
  13. 07 3月, 2009 2 次提交
  14. 15 1月, 2009 1 次提交
  15. 05 1月, 2009 1 次提交
  16. 29 11月, 2008 1 次提交
  17. 26 11月, 2008 1 次提交
  18. 19 11月, 2008 1 次提交
    • A
      Refactor and enhance break/watchpoint API (Jan Kiszka) · a1d1bb31
      aliguori 提交于
      This patch prepares the QEMU cpu_watchpoint/breakpoint API to allow the
      succeeding enhancements this series comes with.
      
      First of all, it overcomes MAX_BREAKPOINTS/MAX_WATCHPOINTS by switching
      to dynamically allocated data structures that are kept in linked lists.
      This also allows to return a stable reference to the related objects,
      required for later introduced x86 debug register support.
      
      Breakpoints and watchpoints are stored with their full information set
      and an additional flag field that makes them easily extensible for use
      beyond pure guest debugging.
      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@5738 c046a42c-6fe2-441c-8c8c-71466251a162
      a1d1bb31
  19. 06 11月, 2008 1 次提交
    • A
      Add KVM support to QEMU · 7ba1e619
      aliguori 提交于
      This patch adds very basic KVM support.  KVM is a kernel module for Linux that
      allows userspace programs to make use of hardware virtualization support.  It
      current supports x86 hardware virtualization using Intel VT-x or AMD-V.  It
      also supports IA64 VT-i, PPC 440, and S390.
      
      This patch only implements the bare minimum support to get a guest booting.  It
      has very little impact the rest of QEMU and attempts to integrate nicely with
      the rest of QEMU.
      
      Even though this implementation is basic, it is significantly faster than TCG.
      Booting and shutting down a Linux guest:
      
      w/TCG:  1:32.36 elapsed  84% CPU
      
      w/KVM:  0:31.14 elapsed  59% CPU
      
      Right now, KVM is disabled by default and must be explicitly enabled with
       -enable-kvm.  We can enable it by default later when we have had better
      testing.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5627 c046a42c-6fe2-441c-8c8c-71466251a162
      7ba1e619
  20. 12 10月, 2008 1 次提交
  21. 02 7月, 2008 1 次提交
  22. 29 6月, 2008 1 次提交
  23. 09 6月, 2008 1 次提交
    • P
      Clean up MMIO TLB handling. · 0f459d16
      pbrook 提交于
      The IO index is now stored in its own field, instead of being wedged
      into the vaddr field.  This eliminates the ROMD and watchpoint host
      pointer weirdness.  The IO index space is expanded by 1 bit, and
      several additional bits are made available in the TLB vaddr field.
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4704 c046a42c-6fe2-441c-8c8c-71466251a162
      0f459d16
  24. 08 6月, 2008 1 次提交
  25. 29 5月, 2008 2 次提交
  26. 28 4月, 2008 1 次提交
  27. 23 4月, 2008 2 次提交
  28. 09 4月, 2008 1 次提交
  29. 01 2月, 2008 1 次提交
  30. 31 1月, 2008 1 次提交
  31. 09 12月, 2007 1 次提交
  32. 18 11月, 2007 1 次提交
  33. 29 10月, 2007 1 次提交
  34. 14 10月, 2007 1 次提交
    • J
      Replace is_user variable with mmu_idx in softmmu core, · 6ebbf390
      j_mayer 提交于
        allowing support of more than 2 mmu access modes.
      Add backward compatibility is_user variable in targets code when needed.
      Implement per target cpu_mmu_index function, avoiding duplicated code
        and #ifdef TARGET_xxx in softmmu core functions.
      Implement per target mmu modes definitions. As an example, add PowerPC
        hypervisor mode definition and Alpha executive and kernel modes definitions.
      Optimize PowerPC case, precomputing mmu_idx when MSR register changes
        and using the same definition in code translation code.
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3384 c046a42c-6fe2-441c-8c8c-71466251a162
      6ebbf390
  35. 19 9月, 2007 1 次提交
  36. 17 9月, 2007 1 次提交