public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] [RFC] Add support for nested SVM (kernel)
@ 2008-09-01 11:57 Alexander Graf
  2008-09-01 11:57 ` [PATCH 1/9] Add CPUID feature flag for SVM Alexander Graf
                   ` (3 more replies)
  0 siblings, 4 replies; 44+ messages in thread
From: Alexander Graf @ 2008-09-01 11:57 UTC (permalink / raw)
  To: kvm; +Cc: joro, anthony, Alexander Graf

The current generation of virtualization extensions only supports one VM layer.
While we can't change that, it is pretty easy to emulate the CPU's behavior
and implement the virtualization opcodes ourselves.

This patchset does exactly this for SVM. Using this, a KVM can run within a VM.
Since we're emulating the real CPU's behavior, this should also enable other
VMMs to run within KVM.
So far I've only tested to run KVM inside the VM though.

This was created with help from Joerg Roedel. I don't really know how put this
information in the patchset though. Maybe set him on signed-off-by?

As always, comments and suggestions are highly welcome.

Alexander Graf (9):
  Add CPUID feature flag for SVM
  Clean up VINTR setting
  Implement GIF, clgi and stgi
  Add helper functions for nested SVM
  Allow setting the SVME bit
  Implement hsave
  Add VMLOAD and VMSAVE handlers
  Add VMRUN handler
  Add VMEXIT handler and intercepts

 arch/x86/kvm/kvm_svm.h       |   13 +
 arch/x86/kvm/svm.c           |  716 +++++++++++++++++++++++++++++++++++++++++-
 arch/x86/kvm/svm.h           |    2 +
 include/asm-x86/cpufeature.h |    1 +
 4 files changed, 720 insertions(+), 12 deletions(-)


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

end of thread, other threads:[~2008-09-03 11:55 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-01 11:57 [PATCH 0/9] [RFC] Add support for nested SVM (kernel) Alexander Graf
2008-09-01 11:57 ` [PATCH 1/9] Add CPUID feature flag for SVM Alexander Graf
2008-09-01 11:57   ` [PATCH 2/9] Clean up VINTR setting Alexander Graf
2008-09-01 11:57     ` [PATCH 3/9] Implement GIF, clgi and stgi Alexander Graf
2008-09-01 11:57       ` [PATCH 4/9] Add helper functions for nested SVM Alexander Graf
2008-09-01 11:57         ` [PATCH 5/9] Allow setting the SVME bit Alexander Graf
2008-09-01 11:57           ` [PATCH 6/9] Implement hsave Alexander Graf
2008-09-01 11:57             ` [PATCH 7/9] Add VMLOAD and VMSAVE handlers Alexander Graf
2008-09-01 11:58               ` [PATCH 8/9] Add VMRUN handler Alexander Graf
2008-09-01 11:58                 ` [PATCH 9/9] Add VMEXIT handler and intercepts Alexander Graf
2008-09-01 13:58                   ` Avi Kivity
2008-09-02 16:15                     ` Alexander Graf
2008-09-03  9:23                       ` Avi Kivity
2008-09-03  9:33                         ` Alexander Graf
2008-09-03  9:47                           ` Avi Kivity
2008-09-03 11:55                             ` Alexander Graf
2008-09-01 13:41                 ` [PATCH 8/9] Add VMRUN handler Avi Kivity
2008-09-02 15:38                   ` Alexander Graf
2008-09-01 13:27               ` [PATCH 7/9] Add VMLOAD and VMSAVE handlers Avi Kivity
2008-09-01 14:14                 ` Alexander Graf
2008-09-01 14:27                   ` Avi Kivity
2008-09-01 14:49                     ` Alexander Graf
2008-09-01 13:15             ` [PATCH 6/9] Implement hsave Avi Kivity
2008-09-01 14:11               ` Alexander Graf
2008-09-01 14:26                 ` Avi Kivity
2008-09-01 13:21             ` Avi Kivity
2008-09-01 13:14           ` [PATCH 5/9] Allow setting the SVME bit Avi Kivity
2008-09-01 13:11       ` [PATCH 3/9] Implement GIF, clgi and stgi Avi Kivity
2008-09-01 14:02         ` Alexander Graf
2008-09-01 14:25           ` Avi Kivity
2008-09-01 15:37             ` Alexander Graf
2008-09-01 16:05               ` Avi Kivity
2008-09-01 16:13                 ` Alexander Graf
2008-09-01 16:17                   ` Avi Kivity
2008-09-01 16:40                     ` Alexander Graf
2008-09-02  9:15                       ` Avi Kivity
2008-09-01 13:13     ` [PATCH 2/9] Clean up VINTR setting Avi Kivity
2008-09-01 12:09 ` [PATCH 0/9] [RFC] Add support for nested SVM (kernel) Avi Kivity
2008-09-01 12:21 ` Joerg Roedel
2008-09-01 13:41 ` Daniel P. Berrange
2008-09-01 14:17   ` Alexander Graf
2008-09-01 14:22     ` Avi Kivity
2008-09-01 14:47       ` Alexander Graf
2008-09-01 14:57         ` Avi Kivity

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