Skip to contentSkip to conversation

Nested Virtualization: Overview

PATCH In review Christoph Egger 3 participants 6 messages Dec 20, 2010 – Jan 7, 2011

lore
Share & tools
lore
#0 lore raw

cover Nested Virtualization: Overview

Hi!

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

- Worked on all items from Tim
- Dropped vram patch
- Rebased against c/s 22573:ff1b80ccecd9

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 2 lines · Christoph Egger

This patch series brings Nested Virtualization to Xen. This is the seventh patch series.

Thanks for this. I've commented on patch 4 (core) and patch 12 (hap-on-hap) separately. Also I think we need an Acked-by: from Eddie for patches 1-8.

Apart from that I think we can check these in as soon as the 4.1 branch has been taken, and fix up any remaining issues in-tree.

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
Quoted 6 lines · On Friday 07 January 2011 17:01:12 Tim Deegan wrote:

Hi,

Quoted 2 lines · Christoph Egger

This patch series brings Nested Virtualization to Xen. This is the seventh patch series.

Quoted 6 lines

Thanks for this. I've commented on patch 4 (core) and patch 12 (hap-on-hap) separately. Also I think we need an Acked-by: from Eddie for patches 1-8.

Apart from that I think we can check these in as soon as the 4.1 branch has been taken, and fix up any remaining issues in-tree.

When is the 4.1 branch planned to happen?

Christoph

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
#3 lore raw
Quoted 8 lines · Christoph Egger
Quoted 6 lines

Thanks for this. I've commented on patch 4 (core) and patch 12 (hap-on-hap) separately. Also I think we need an Acked-by: from Eddie for patches 1-8.

Apart from that I think we can check these in as soon as the 4.1 branch has been taken, and fix up any remaining issues in-tree.

When is the 4.1 branch planned to happen?

We usually do the branch just before release. So that would be about 6 weeks I guess.

-- Keir

#4 lore raw
Quoted 5 lines · On Friday 07 January 2011 17:45:12 Keir Fraser wrote:
Quoted 4 lines · Christoph Egger
Quoted 4 lines

Thanks for this. I've commented on patch 4 (core) and patch 12 (hap-on-hap) separately. Also I think we need an Acked-by: from Eddie for patches 1-8.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Apart from that I think we can check these in as soon as the 4.1 branch has been taken, and fix up any remaining issues in-tree.

When is the 4.1 branch planned to happen?

We usually do the branch just before release. So that would be about 6 weeks I guess.

I am surprised about that. Did I miss the feature freeze announcement?

Christoph

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
#5 lore raw
Quoted 9 lines · Christoph Egger
Quoted 8 lines · On Friday 07 January 2011 17:45:12 Keir Fraser wrote:
Quoted 7 lines · Christoph Egger
Quoted 6 lines

Thanks for this. I've commented on patch 4 (core) and patch 12 (hap-on-hap) separately. Also I think we need an Acked-by: from Eddie for patches 1-8.

Apart from that I think we can check these in as soon as the 4.1 branch has been taken, and fix up any remaining issues in-tree.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

When is the 4.1 branch planned to happen?

We usually do the branch just before release. So that would be about 6 weeks I guess.

I am surprised about that. Did I miss the feature freeze announcement?

Proposed it back in November:
http://lists.xensource.com/archives/html/xen-devel/2010-11/msg01349.html

-- Keir

Quoted 2 lines

Christoph