Skip to contentSkip to conversation

Nested Virtualization: Overview

PATCH In review Christoph Egger 3 participants 3 messages Mar 9, 2011 – Mar 28, 2011

lore
Share & tools
lore
#0 lore raw

cover Nested Virtualization: Overview

Hi!

This patch series brings Nested Virtualization to Xen. This is the eight patch series. Improvements to the previous patch submission:

- Worked on all items from Tim
- Rebased against c/s 22956:8af88ff698ff
- Several bugfixes
- SVM specific performance improvements:
- Implemented shadow vmcb
- Implemented vmcb cleanbit emulation

The patch series:

patch 01: add nestedhvm guest config option to the tools.
This is the only one patch touching the tools
patch 02: Add data structures for nested virtualization.
patch 03: add nestedhvm function hooks.
patch 04: The heart of nested virtualization.
patch 05: Allow switch to paged real mode during vmrun emulation.
Emulate cr0 and cr4 when guest does not intercept them (i.e. Hyper-V/Windows7, KVM)
patch 06: When injecting an exception into nested guest, inject
#VMEXIT into the guest if intercepted.
patch 07: Allow guest to enable SVM in EFER only on AMD.
patch 08: Handle interrupts (generic part).
patch 09: SVM specific implementation for nested virtualization. patch 10: Handle interrupts (SVM specific).
patch 11: The piece of code that effectively turns on nested virtualization. patch 12: Handle nested pagefault to enable hap-on-hap and handle
nested guest page-table-walks to emulate instructions the guest does not intercept (i.e. WBINVD with Windows 7).

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
#1 lore raw

Hi,

Quoted 1 line · Christoph Egger

This patch series brings Nested Virtualization to Xen.

Patches 1-11: Acked-by: Tim Deegan <[email protected]> Patches 1-8 also need an explicit Ack from Eddie Dong. Patch 12 I'll send comments on separately.

Cheers,

Tim.

Signature · 3 lines
Tim Deegan <[email protected]>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)
#2 lore raw
In reply to Christoph Egger

Good progress! Though in very details, there is maybe minor difference, but I vote we start to take the patches so that the next rebase and review can be easier :) Even we can fix later on for those minor issue like other patches did in the past.

Eddie

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Christoph Egger
Sent: Wednesday, March 09, 2011 10:28 PM
To: [email protected]
Subject: [Xen-devel] [PATCH 00/12] Nested Virtualization: Overview

Hi!

This patch series brings Nested Virtualization to Xen. This is the eight patch series. Improvements to the previous patch submission:

- Worked on all items from Tim
- Rebased against c/s 22956:8af88ff698ff
- Several bugfixes
- SVM specific performance improvements:
- Implemented shadow vmcb
- Implemented vmcb cleanbit emulation

The patch series:

patch 01: add nestedhvm guest config option to the tools.
This is the only one patch touching the tools
patch 02: Add data structures for nested virtualization.
patch 03: add nestedhvm function hooks.
patch 04: The heart of nested virtualization.
patch 05: Allow switch to paged real mode during vmrun emulation.
Emulate cr0 and cr4 when guest does not intercept them (i.e. Hyper-V/Windows7, KVM)
patch 06: When injecting an exception into nested guest, inject
#VMEXIT into the guest if intercepted.
patch 07: Allow guest to enable SVM in EFER only on AMD.
patch 08: Handle interrupts (generic part).
patch 09: SVM specific implementation for nested virtualization. patch 10: Handle interrupts (SVM specific).
patch 11: The piece of code that effectively turns on nested virtualization. patch 12: Handle nested pagefault to enable hap-on-hap and handle
nested guest page-table-walks to emulate instructions the guest does not intercept (i.e. WBINVD with Windows 7).

Signature · 12 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel