public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/21] Nested SVM cleanups v2
@ 2009-08-07  9:49 Joerg Roedel
  2009-08-07  9:49 ` [PATCH 01/21] kvm/svm: add helper functions for global interrupt flag Joerg Roedel
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: Joerg Roedel @ 2009-08-07  9:49 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Alexander Graf, kvm, linux-kernel

Hi,

this is the second and extended version of my patchset to clean up the code for
SVM virtualization in KVM. The patchset was tested with KVM on KVM and showed
no regressions. It was tested with Nested Paging and with Shadow Paging on the
first-level guest. 
As a major change this patchset enables the nested SVM code by
default. It is still required to start qemu with -enable-nesting,
though.

Changes to the previous version:

	* added Acked-by tags
	* added missing patch descriptions
	* addressed review comments
	* dropped dynamic debugging patch (will be replaced by change
	  to tracing infrastructure)
	* dropped patch moving nested #pf handling because it broke
	  nested SVM with shadow paging
	* added more cleanups (e.g. removed nested_svm_do and
	  function pointer code flow)
	* fixed 2 minor issues
	* enabled nested svm by default

Thanks,

	Joerg

Diffstat:

 arch/x86/kvm/svm.c |  637 +++++++++++++++++++++++++++++-----------------------
 1 files changed, 358 insertions(+), 279 deletions(-)

Shortlog:

Joerg Roedel (21):
      kvm/svm: add helper functions for global interrupt flag
      kvm/svm: optimize nested #vmexit
      kvm/svm: optimize nested vmrun
      kvm/svm: copy only necessary parts of the control area on vmrun/vmexit
      kvm/svm: complete interrupts after handling nested exits
      kvm/svm: move nested svm state into seperate struct
      kvm/svm: cache nested intercepts
      kvm/svm: consolidate nested_svm_exit_handled
      kvm/svm: do nested vmexit in nested_svm_exit_handled
      kvm/svm: simplify nested_svm_check_exception
      kvm/svm: get rid of nested_svm_vmexit_real
      kvm/svm: clean up nested_svm_exit_handled_msr
      kvm/svm: clean up nestec vmload/vmsave paths
      kvm/svm: clean up nested vmrun path
      kvm/svm: remove nested_svm_do and helper functions
      kvm/svm: handle errors in vmrun emulation path appropriatly
      kvm/svm: move special nested exit handling to separate function
      kvm/svm: remove unnecessary is_nested check from svm_cpu_run
      kvm/svm: move nested_svm_intr main logic out of if-clause
      kvm/svm: check for nested VINTR flag in svm_interrupt_allowed
      kvm/svm: enable nested svm by default




^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2009-08-09  9:35 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-07  9:49 [PATCH 0/21] Nested SVM cleanups v2 Joerg Roedel
2009-08-07  9:49 ` [PATCH 01/21] kvm/svm: add helper functions for global interrupt flag Joerg Roedel
2009-08-07  9:49 ` [PATCH 02/21] kvm/svm: optimize nested #vmexit Joerg Roedel
2009-08-07  9:49 ` [PATCH 03/21] kvm/svm: optimize nested vmrun Joerg Roedel
2009-08-07  9:49 ` [PATCH 04/21] kvm/svm: copy only necessary parts of the control area on vmrun/vmexit Joerg Roedel
2009-08-07  9:49 ` [PATCH 05/21] kvm/svm: complete interrupts after handling nested exits Joerg Roedel
2009-08-07  9:49 ` [PATCH 06/21] kvm/svm: move nested svm state into seperate struct Joerg Roedel
2009-08-07  9:49 ` [PATCH 07/21] kvm/svm: cache nested intercepts Joerg Roedel
2009-08-07  9:49 ` [PATCH 08/21] kvm/svm: consolidate nested_svm_exit_handled Joerg Roedel
2009-08-07  9:49 ` [PATCH 09/21] kvm/svm: do nested vmexit in nested_svm_exit_handled Joerg Roedel
2009-08-07  9:49 ` [PATCH 10/21] kvm/svm: simplify nested_svm_check_exception Joerg Roedel
2009-08-07  9:49 ` [PATCH 11/21] kvm/svm: get rid of nested_svm_vmexit_real Joerg Roedel
2009-08-07  9:49 ` [PATCH 12/21] kvm/svm: clean up nested_svm_exit_handled_msr Joerg Roedel
2009-08-07  9:49 ` [PATCH 13/21] kvm/svm: clean up nestec vmload/vmsave paths Joerg Roedel
2009-08-07  9:49 ` [PATCH 14/21] kvm/svm: clean up nested vmrun path Joerg Roedel
2009-08-07  9:49 ` [PATCH 15/21] kvm/svm: remove nested_svm_do and helper functions Joerg Roedel
2009-08-07  9:49 ` [PATCH 16/21] kvm/svm: handle errors in vmrun emulation path appropriatly Joerg Roedel
2009-08-07  9:49 ` [PATCH 17/21] kvm/svm: move special nested exit handling to separate function Joerg Roedel
2009-08-07  9:49 ` [PATCH 18/21] kvm/svm: remove unnecessary is_nested check from svm_cpu_run Joerg Roedel
2009-08-07  9:49 ` [PATCH 19/21] kvm/svm: move nested_svm_intr main logic out of if-clause Joerg Roedel
2009-08-07  9:49 ` [PATCH 20/21] kvm/svm: check for nested VINTR flag in svm_interrupt_allowed Joerg Roedel
2009-08-07  9:49 ` [PATCH 21/21] kvm/svm: enable nested svm by default Joerg Roedel
2009-08-09  9:41 ` [PATCH 0/21] Nested SVM cleanups v2 Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox