1. 22 Dec, 2008 1 commit
  2. 13 Dec, 2008 1 commit
    • blueswir1's avatar
      x86 cleanup · d9957a8b
      blueswir1 authored
      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
  3. 02 Dec, 2008 1 commit
  4. 25 Nov, 2008 1 commit
  5. 18 Nov, 2008 2 commits
  6. 17 Nov, 2008 1 commit
  7. 13 Nov, 2008 2 commits
  8. 09 Nov, 2008 1 commit
  9. 05 Nov, 2008 2 commits
    • aliguori's avatar
      Add KVM support to QEMU · 7ba1e619
      aliguori authored
      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: default avatarAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5627 c046a42c-6fe2-441c-8c8c-71466251a162
      7ba1e619
    • aliguori's avatar
      Split CPUID from op_helper · 6fd805e1
      aliguori authored
      KVM needs to call CPUID from outside of the TCG code.  This patch
      splits out the CPUID logic into a separate helper that both the op
      helper and KVM can call.
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5626 c046a42c-6fe2-441c-8c8c-71466251a162
      6fd805e1
  10. 27 Oct, 2008 1 commit
  11. 14 Oct, 2008 1 commit
    • aurel32's avatar
      target-i386: Add Core Duo Definition · 45fd08ef
      aurel32 authored
      This patch adds a CPU definition for the Core Duo CPU. I tried to
      resemble the original as closely as possible and document what features
      are missing still. This patch enables the use of a recent CPU definition
      on 32 bit platforms.
      
      It also fixes two issues that went along the line:
      
      - invalid xlevel in core2duo spec
        While looking though the CPUIDs again, I found that xlevel is actually 8.
      
      - non-PSE36 support
        The CoreDuo CPUID does not expose the PSE36 capability, but CPUID
      0x80000008 is tied to 36 bits. This broke Windows XP installation for
      me, so I just set it to 32 bits width when PSE36 is not available. The
      original CPU also exposes 32 bit width in CPUID 0x80000008.
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5488 c046a42c-6fe2-441c-8c8c-71466251a162
      45fd08ef
  12. 29 Sep, 2008 1 commit
    • pbrook's avatar
      My core2duo patch introduced a vague statement of "missing features" in · 558fa836
      pbrook authored
      the CPUID specification. This patch addresses this by specifying exactly 
      what is missing.
      While going along the missing CPUID entries I also stumbled across 
      invalid and missing CPUID #defines while comparing them to the Intel 
      Documentation. This patch also addresses these. I found them too minor 
      to split them up in a separate patch.
      
      Furthermore I looked through CPUID functions > 5 and realized that it 
      should be safe to bump the level to 10. I tried booting Linux with that 
      and it worked fine.
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5350 c046a42c-6fe2-441c-8c8c-71466251a162
      558fa836
  13. 28 Sep, 2008 1 commit
  14. 25 Sep, 2008 3 commits
  15. 24 Sep, 2008 1 commit
  16. 18 Aug, 2008 1 commit
  17. 23 Jul, 2008 1 commit
  18. 02 Jul, 2008 1 commit
  19. 20 Jun, 2008 1 commit
  20. 06 Jun, 2008 1 commit
  21. 04 Jun, 2008 1 commit
  22. 28 May, 2008 3 commits
  23. 24 May, 2008 1 commit
  24. 22 May, 2008 2 commits
  25. 21 May, 2008 4 commits
  26. 17 May, 2008 3 commits
  27. 15 May, 2008 1 commit