1. 30 6月, 2009 1 次提交
    • J
      kvm: Rework VCPU synchronization · 8d2ba1fb
      Jan Kiszka 提交于
      During startup and after reset we have to synchronize user space to the
      in-kernel KVM state. Namely, we need to transfer the VCPU registers when
      they change due to VCPU as well as APIC reset.
      
      This patch refactors the required hooks so that kvm_init_vcpu registers
      its own per-VCPU reset handler and adds a cpu_synchronize_state to the
      APIC reset. That way we no longer depend on the new reset order (and can
      drop this disliked interface again) and we can even drop a KVM hook in
      main().
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      8d2ba1fb
  2. 22 5月, 2009 3 次提交
  3. 09 5月, 2009 2 次提交
  4. 01 5月, 2009 1 次提交
  5. 17 4月, 2009 1 次提交
  6. 13 3月, 2009 1 次提交
    • A
      Guest debugging support for KVM (Jan Kiszka) · e22a25c9
      aliguori 提交于
      This is a backport of the guest debugging support for the KVM
      accelerator that is now part of the KVM tree. It implements the reworked
      KVM kernel API for guest debugging (KVM_CAP_SET_GUEST_DEBUG) which is
      not yet part of any mainline kernel but will probably be 2.6.30 stuff.
      So far supported is x86, but PPC is expected to catch up soon.
      
      Core features are:
       - unlimited soft-breakpoints via code patching
       - hardware-assisted x86 breakpoints and watchpoints
      
      Changes in this version:
       - use generic hook cpu_synchronize_state to transfer registers between
         user space and kvm
       - push kvm_sw_breakpoints into KVMState
      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@6825 c046a42c-6fe2-441c-8c8c-71466251a162
      e22a25c9
  7. 16 12月, 2008 1 次提交
  8. 10 12月, 2008 1 次提交
    • A
      KVM: Coalesced MMIO support · f65ed4c1
      aliguori 提交于
      MMIO exits are more expensive in KVM or Xen than in QEMU because they 
      involve, at least, privilege transitions.  However, MMIO write 
      operations can be effectively batched if those writes do not have side 
      effects.
      
      Good examples of this include VGA pixel operations when in a planar 
      mode.  As it turns out, we can get a nice boost in other areas too.  
      Laurent mentioned a 9.7% performance boost in iperf with the coalesced 
      MMIO changes for the e1000 when he originally posted this work for KVM.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5961 c046a42c-6fe2-441c-8c8c-71466251a162
      f65ed4c1
  9. 05 12月, 2008 1 次提交
  10. 25 11月, 2008 1 次提交
  11. 14 11月, 2008 1 次提交
  12. 06 11月, 2008 1 次提交