1. 09 2月, 2009 1 次提交
  2. 06 2月, 2009 1 次提交
  3. 03 2月, 2009 2 次提交
  4. 02 2月, 2009 1 次提交
  5. 30 1月, 2009 3 次提交
  6. 27 1月, 2009 4 次提交
    • A
      kvm-x86: Remove eflags conversion into emulator format (Jan Kiszka) · 8c6c919e
      aliguori 提交于
      It seems that the conversion of the kernel-delivered eflags state into
      qemu's internal split representation was once needed in an older kvm
      design (register read-back may have taken place from inside cpu_exec).
      Today it is plain wrong and causes incorrect cpu state reporting (gdb,
      monitor) and should also corrupt its saving (savevm, migration). Drop
      the related lines.
      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@6461 c046a42c-6fe2-441c-8c8c-71466251a162
      8c6c919e
    • A
      x86: Issue reset on triple faults (Jan Kiszka) · f55761a0
      aliguori 提交于
      As discussed a few times on this list: A triple fault causes a system
      reset on x86, and some guests make use of this (e.g. 386BSD). To keep
      the chance of tracing unexpected resets, log them if CPU_LOG_RESET is
      set.
      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@6453 c046a42c-6fe2-441c-8c8c-71466251a162
      f55761a0
    • A
      Log reset events (Jan Kiszka) · eca1bdf4
      aliguori 提交于
      Original idea&code by Kevin Wolf, split-up in two patches and added more
      archs.
      
      This patch introduces a flag to log CPU resets. Useful for tracing
      unexpected resets (such as those triggered by x86 triple faults).
      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@6452 c046a42c-6fe2-441c-8c8c-71466251a162
      eca1bdf4
    • A
      MTRR support on x86 (Carl-Daniel Hailfinger) · 165d9b82
      aliguori 提交于
      The current codebase ignores MTRR (Memory Type Range Register)
      configuration writes and reads because Qemu does not implement caching.
      All BIOS/firmware in know of for x86 do implement a mode called
      Cache-as-RAM (CAR) which locks down the CPU cache lines and uses the CPU
      cache like RAM before RAM is enabled. Qemu assumes RAM is accessible
      from the start, but it would be nice to be able to run real
      BIOS/firmware in Qemu. For that, we need CAR support and for CAR support
      we have to support MTRRs.
      
      This patch is a first step in that direction. MTRRs are MSRs supported
      by all recent x86 CPUs, even old i586. Besides influencing cache, the
      MTRRs can be written and read back, so discarding MTRR writes violates
      the expectations of existing code out there.
      
      An added benefit of this patch is that it fixes the following Linux
      kernel error message present in recent kernels (provided the BIOS has
      the recent MTRR patches applied):
       ------------[ cut here ]------------
      WARNING: at arch/x86/kernel/cpu/mtrr/main.c:1500 mtrr_trim_uncached_memory+0x382/0x384()
      WARNING: strange, CPU MTRRs all blank?
      Modules linked in:
      Supported: Yes
      Pid: 0, comm: swapper Not tainted 2.6.27.7-9-default #1
       [<c0106570>] dump_trace+0x6b/0x249
       [<c01070a5>] show_trace+0x20/0x39
       [<c0343c02>] dump_stack+0x71/0x76
       [<c012acb2>] warn_slowpath+0x6f/0x90
       [<c0542f8f>] mtrr_trim_uncached_memory+0x382/0x384
       [<c053f24d>] setup_arch+0x40d/0x639
       [<c053a6ac>] start_kernel+0x6b/0x31f
       =======================
       ---[ end trace 4eaa2a86a8e2da22 ]---
      
      Handle common x86 MTRR reads and writes, but don't act on them.
      Signed-off-by: NCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6449 c046a42c-6fe2-441c-8c8c-71466251a162
      165d9b82
  7. 16 1月, 2009 3 次提交
  8. 15 1月, 2009 2 次提交
  9. 05 1月, 2009 1 次提交
  10. 23 12月, 2008 1 次提交
  11. 14 12月, 2008 2 次提交
  12. 13 12月, 2008 2 次提交
    • M
      Fix smsw for x86_64 guest and bigendian host case · f60d2728
      malc 提交于
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6009 c046a42c-6fe2-441c-8c8c-71466251a162
      f60d2728
    • B
      x86 cleanup · d9957a8b
      blueswir1 提交于
      Remove some unnecessary includes, add needed includes, move prototypes to
      cpu.h to suppress missing prototype warnings.
      
      Remove unused functions and prototypes (cpu_x86_flush_tlb, cpu_lock,
      cpu_unlock, restore_native_fp_state, save_native_fp_state).
      
      Make some functions and data static (f15rk, parity_table, rclw_table,
      rclb_table, raise_interrupt, fpu_raise_exception), they are not used
      outside op_helper.c anymore.
      
      Make some x86_64 and user only code conditional to avoid warnings.
      
      Document where each function is implemented in cpu.h and exec.h.
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6005 c046a42c-6fe2-441c-8c8c-71466251a162
      d9957a8b
  13. 12 12月, 2008 1 次提交
  14. 10 12月, 2008 1 次提交
  15. 08 12月, 2008 2 次提交
  16. 03 12月, 2008 1 次提交
  17. 01 12月, 2008 2 次提交
  18. 26 11月, 2008 2 次提交
  19. 19 11月, 2008 5 次提交
  20. 17 11月, 2008 2 次提交
  21. 14 11月, 2008 1 次提交