Nested Virtualization: Overview
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 35 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | Nested Virtualization: toolstools/ tools/ tools/ +3 more | +68 | 1 reply | |
| 2/14 | Nested Virtualization: localeventxen/ xen/ xen/ +1 more | +15 | 6 replies | |
| 3/14 | Nested Virtualization: data structurexen/ xen/ xen/ +1 more | +60 | 0 replies | |
| 4/14 | Nested Virtualization: function hooksxen/ xen/ | +128 | 0 replies | |
| 5/14 | Nested Virtualization: corexen/ xen/ xen/ | +813 | 2 replies | |
| 6/14 | Nested Virtualization: CRn & paged real modexen/ | +4 | 2 replies | |
| 7/14 | Nested Virtualization: trapxen/ xen/ | +58 | 6 replies | |
| 8/14 | Nested Virtualization: eferxen/ xen/ | +17 | 0 replies | |
| 9/14 | Nested Virtualization: interrupts (generic part)xen/ xen/ xen/ | +17 | 0 replies | |
| 10/14 | Nested Virtualization: svm specific implementationxen/ xen/ xen/ +6 more | +1565 | 6 replies | |
| 11/14 | Nested Virtualization: interrupts (svm specific)xen/ xen/ | +40 | 0 replies | |
| 12/14 | Nested Virtualization: enablementxen/ | +26 | 0 replies | |
| 13/14 | Nested Virtualization: p2m infrastructurexen/ xen/ xen/ +23 more | +704 | 4 replies | |
| 14/14 | Nested Virtualization: hap-on-hapxen/ xen/ xen/ +12 more | +940 | 4 replies |
Reviews trailers per patch
1 of 14 patches has a Reviewed-by or Acked-by.
| Patch | Tim Deegan |
|---|---|
| 1/14 | |
| 2/14 | |
| 3/14 | |
| 4/14 | |
| 5/14 | |
| 6/14 | |
| 7/14 | |
| 8/14 | |
| 9/14 | |
| 10/14 | |
| 11/14 | |
| 12/14 | |
| 13/14 | A-b |
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/14] Nested Virtualization: Overview
Hi!
This patch series brings Nested Virtualization to Xen. This is the third patch series. Improvements to the previous patch submission:
- implement HVM-on-HVM (instead of SVM-on-HVM)
- move cpuid handling into tools (per Keir's request)
There might still be some nuances to fiddle with to make it fit for VMX. Feedback from Intel is appreciated, therefore.
The patch series:
patch 01: add nestedhvm guest config option to the tools.
This is the only one patch touching the tools
patch 02: change local_event_delivery_* to take vcpu argument.
This prevents spurios xen crashes on guest shutdown/destroy with nestedhvm enabled.
patch 03: Add data structures for nested virtualization.
patch 04: add nestedhvm function hooks, described in XenNestedHVM.pdf patch 05: The heart of nested virtualization.
patch 06: 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 07: When injecting an exception into nested guest, inject
#VMEXIT into the guest if intercepted
patch 08: Allow guest to enable SVM in EFER
patch 09: Handle interrupts (generic part)
patch 10: SVM specific implementation for nested virtualization patch 11: Handle interrupts (SVM specific)
patch 12: The piece of code that effectively turns nested virtualization on.
Use HVM_PARAM_* this time.
patch 13: Change p2m infrastructure to operate with per-p2m instead
of per-domain. Combined with patch 15, this allows to run nested guest with hap-on-hap.
patch 14: 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