1. 24 3月, 2009 1 次提交
    • J
      KVM: New guest debug interface · d0bfb940
      Jan Kiszka 提交于
      This rips out the support for KVM_DEBUG_GUEST and introduces a new IOCTL
      instead: KVM_SET_GUEST_DEBUG. The IOCTL payload consists of a generic
      part, controlling the "main switch" and the single-step feature. The
      arch specific part adds an x86 interface for intercepting both types of
      debug exceptions separately and re-injecting them when the host was not
      interested. Moveover, the foundation for guest debugging via debug
      registers is layed.
      
      To signal breakpoint events properly back to userland, an arch-specific
      data block is now returned along KVM_EXIT_DEBUG. For x86, the arch block
      contains the PC, the debug exception, and relevant debug registers to
      tell debug events properly apart.
      
      The availability of this new interface is signaled by
      KVM_CAP_SET_GUEST_DEBUG. Empty stubs for not yet supported archs are
      provided.
      
      Note that both SVM and VTX are supported, but only the latter was tested
      yet. Based on the experience with all those VTX corner case, I would be
      fairly surprised if SVM will work out of the box.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      d0bfb940
  2. 15 2月, 2009 1 次提交
  3. 31 12月, 2008 5 次提交
  4. 23 12月, 2008 1 次提交
  5. 21 12月, 2008 1 次提交
    • B
      powerpc/mm: Split low level tlb invalidate for nohash processors · 2a4aca11
      Benjamin Herrenschmidt 提交于
      Currently, the various forms of low level TLB invalidations are all
      implemented in misc_32.S for 32-bit processors, in a fairly scary
      mess of #ifdef's and with interesting duplication such as a whole
      bunch of code for FSL _tlbie and _tlbia which are no longer used.
      
      This moves things around such that _tlbie is now defined in
      hash_low_32.S and is only used by the 32-bit hash code, and all
      nohash CPUs use the various _tlbil_* forms that are now moved to
      a new file, tlb_nohash_low.S.
      
      I moved all the definitions for that stuff out of
      include/asm/tlbflush.h as they are really internal mm stuff, into
      mm/mmu_decl.h
      
      The code should have no functional changes.  I kept some variants
      inline for trivial forms on things like 40x and 8xx.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Acked-by: NKumar Gala <galak@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      2a4aca11
  6. 25 11月, 2008 1 次提交
  7. 15 10月, 2008 2 次提交
  8. 20 7月, 2008 3 次提交
  9. 04 5月, 2008 1 次提交
  10. 27 4月, 2008 1 次提交