• 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: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5738 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Code »

  • 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: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5627 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Code »
















  • 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
    j_mayer authored
     
    Browse Code »