WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Nested Virtualisation question

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Nested Virtualisation question
From: Jeroen Groenewegen van der Weyden <groen692@xxxxxxxxx>
Date: Mon, 04 Apr 2011 08:49:56 +0200
Cc: Christoph.Egger@xxxxxxx, eddie.dong@xxxxxxxxx
Delivery-date: Sun, 03 Apr 2011 23:50:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D996983.7010501@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4D596513.90504@xxxxxxxxx> <AANLkTim4d14oK-KOwOG2YZzb-n3jyqj6SttM0xMzxC9a@xxxxxxxxxxxxxx> <4D5A2175.3090309@xxxxxxxxx> <AANLkTinuoLdRwVEzWUp3-O5Qtjhs4fW8e2+-RacrNjYu@xxxxxxxxxxxxxx> <4D98D969.3050101@xxxxxxxxx> <BANLkTi=-8XmWcrx_8Q1ai0DgjnUoiKB+ZQ@xxxxxxxxxxxxxx> <4D996983.7010501@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
Hello,

I have A question about nested virtualisation, the xen user list suggested to post the question here. I need nested virtualisation to run an application on out en environment, which uses kvm it-self.

I suppose I have to apply these patches:
- http://xen.markmail.org/search/?q=nested%20vmx#query:nested%20vmx+page:1+mid:z33lihxnbdjghua5+state:results
-  or http://xenbits.xen.org/ext/cegger/nestedhvm/

Is it correct these patches are now in the xen-unstable branch?
Anything else to get me on my way.


My goal is

DOM0
 openSUSE 11.4 with xen 4.X

DOMU1
 SLES 11 SP1
  kvm guest HVM domu1a (propetary OS)
  kvm guest HVM domu1b (sles 10 sp3)
  kvm guest HVM domu1c (sles 10 sp3)
  kvm guest HVM domu1b (sles 10 sp3)

Op 3-4-2011 23:29, Todd Deshane schreef:
On Sun, Apr 3, 2011 at 8:32 PM, Jeroen Groenewegen van der Weyden
<groen692@xxxxxxxxx>  wrote:
I now am in the position to start testing your suggestion.

An additional question, is it correct the patches you mention here are part
of the xen4.2-unstable branch?
are these patches for vt-x or for svm only? the developer seems to be from
amd. My machines are running on intel.

The latest patch series is here:
http://xen.1045712.n5.nabble.com/PATCH-00-12-Nested-Virtualization-Overview-td3415672.html

Not sure if it has been accepted yet or not. You can email the
developer and/or devel list for confirmation.

Thanks,
Todd

mfg,
Jeroen

Op 15-2-2011 16:21, Todd Deshane schreef:
On Tue, Feb 15, 2011 at 6:47 AM, Jeroen Groenewegen van der Weyden
<groen692@xxxxxxxxx>    wrote:
The why is a good question,
We use xen as out main virtualisation platform. But now there are
applications that use virtualisation it self. In my case I have an
application that uses kvm. So to put it on our xen server it needs to be
nested. I guess in the future more of these situation will appear.

I read somethings about nested virtualisation and I wonder If somebody
has
any experience with it.

To run KVM inside of a guest you need virtualization support within
the guest (running nested xen doesn't require the double nested
(unless you want to do HVM within the nested of course))

Patches can be found here:

http://xen.markmail.org/search/?q=nested%20vmx#query:nested%20vmx+page:1+mid:z33lihxnbdjghua5+state:results

I believe KVM should also have support for nested vmx and nested svm.

The use cases are fairly slim, so finding users/testers is often
difficult.

Please report any bugs you find to the appropriate devel lists and cc
the appropriate nested virtualization maintainers .

Hope that helps.

Thanks,
Todd

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users







_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel