Nested Virtualization: Overview
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 31 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | Nested Virtualization: toolstools/ tools/ tools/ +6 more | +95 | 5 replies | |
| 2/13 | Nested Virtualization: data structurexen/ xen/ | +31 | 0 replies | |
| 3/13 | Nested Virtualization: function hooksxen/ xen/ | +144 | 0 replies | |
| 4/13 | Nested Virtualization: corexen/ xen/ xen/ | +199 | 4 replies | |
| 5/13 | Nested Virtualization: CRn & paged real modexen/ | +4 | 2 replies | |
| 6/13 | Nested Virtualization: trapxen/ xen/ | +42 | 0 replies | |
| 7/13 | Nested Virtualization: eferxen/ xen/ | +16 | 0 replies | |
| 8/13 | Nested Virtualization: interrupts (generic part)xen/ | +8 | 0 replies | |
| 9/13 | Nested Virtualization: svm specific implementationxen/ xen/ xen/ +10 more | +1792 | 2 replies | |
| 10/13 | Nested Virtualization: interrupts (svm specific)xen/ xen/ xen/ +2 more | +237 | 3 replies | |
| 11/13 | Nested Virtualization: enablementxen/ | +26 | 0 replies | |
| 12/13 | Nested Virtualization: vramxen/ xen/ xen/ +2 more | +36 | 2 replies | |
| 13/13 | Nested Virtualization: hap-on-hapxen/ xen/ xen/ +14 more | +997 | 7 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/13] Nested Virtualization: Overview
Hi!
This patch series brings Nested Virtualization to Xen. This is the sixth patch series. Improvements to the previous patch submission:
- Move GIF definition into SVM
- Move VMEXIT emulation into SVM
- Introduce hooks for getting host/guest cr3 for use with hap-on-hap per proposal from Eddie Dong
- Moved fields from struct nestedhvm into SVM
- Renamed struct nestedhvm to struct nestedvcpu
- Reworked VMRUN and VMEXIT emulation. It uses a defered emulation mechanism that makes interrupt handling more efficient and is closer to what VMX is doing
- VMCB is peristent mapped. Only remap the VMCB when l1 guest changes the address.
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: Move dirty_vram from struct hvm_domain to struct p2m_domain.
This change is the first part from a larger not-yet-ready change where the vram and log_dirty tracking is teached to work on per p2m.
patch 13: 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