From: Joerg Roedel Subject: [PATCH 0/12] Nested SVM cleanups Date: Wed, 29 Jul 2009 14:56:20 +0200 Message-ID: <1248872192-30881-1-git-send-email-joerg.roedel@amd.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Alexander Graf , kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: Avi Kivity Return-path: Received: from va3ehsobe004.messaging.microsoft.com ([216.32.180.14]:33965 "EHLO VA3EHSOBE004.bigfish.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754959AbZG2M51 (ORCPT ); Wed, 29 Jul 2009 08:57:27 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Hi, here is a first round of patches to clean up the code for SVM virtualization for KVM on AMD. There is more to clean up but since I am on vacation the rest of the week here is what I have queued up so far. Maybe this saves me from rebasing this code next week ;-) I tested these patches with KVM in KVM and it works stable with and without nested SMP. It doesn't seem to break anything. Joerg Diffstat: arch/x86/kvm/svm.c | 422 +++++++++++++++++++++++++++++++-------------------- 1 files changed, 256 insertions(+), 166 deletions(-) Shortlog: Joerg Roedel (12): kvm/svm: make nested svm debugging runtime configurable 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: handle #pf intercepts in nested_svm_exit_handled directly kvm/svm: simplify nested_svm_check_exception