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/
Home Products Support Community News


Re: [Xen-devel] Re: [Xen-users] Nested Virtualisation question

To: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-users] Nested Virtualisation question
From: Jeroen Groenewegen van der Weyden <groen692@xxxxxxxxx>
Date: Sat, 09 Apr 2011 07:07:13 +0200
Cc: "Christoph.Egger@xxxxxxx" <Christoph.Egger@xxxxxxx>, Keir Fraser <keir.xen@xxxxxxxxx>, "eddie.dong@xxxxxxxxx" <eddie.dong@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 08 Apr 2011 22:08:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110407102913.GH30961@xxxxxxxxxxxxxxxxxxxxxxx>
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: <C9C321CC.15F6F%keir.xen@xxxxxxxxx> <C9C322FD.15F81%keir.xen@xxxxxxxxx> <20110407102913.GH30961@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv: Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
The result with c/s23197

Regular domain now start, en stop normaly, (xl seems to have a problem though, after domain closes a domain null remains in de xl list/ xmdoe not have this.) for nestedVM I added the "nestedhvm=1" in the config file of the domain. but the domain does not start because of "invalid argument"

+++++++++ beging console
hydra:/etc/xen/vm # xm create groscNestedVM
Using config file "./groscNestedVM".
Error: (22, 'Invalid argument')
+++++++++ end console

+++++++++ begin xend.log
hydra:/etc/xen/vm # tail /var/log/xen/xend.log
    dominfo = XendDomainInfo.create(config)
File "/usr/lib64/python2.7/site-packages/xen/xend/XendDomainInfo.py", line 106, in create
File "/usr/lib64/python2.7/site-packages/xen/xend/XendDomainInfo.py", line 473, in start
    XendTask.log_progress(0, 30, self._constructDomain)
File "/usr/lib64/python2.7/site-packages/xen/xend/XendTask.py", line 209, in log_progress
    retval = func(*args, **kwds)
File "/usr/lib64/python2.7/site-packages/xen/xend/XendDomainInfo.py", line 2598, in _constructDomain
    xc.hvm_set_param(self.domid, HVM_PARAM_NESTEDHVM, long(nestedhvm))
Error: (22, 'Invalid argument')
+++++++++++ end xend.log

Op 7-4-2011 12:29, Tim Deegan schreef:
At 08:14 +0100 on 07 Apr (1302164093), Keir Fraser wrote:
On 07/04/2011 08:09, "Keir Fraser"<keir.xen@xxxxxxxxx>  wrote:
Probably the same as this, happening often in the automated tests:
Likely reason: nestedhvm_vcpu_initialise() being called unconditionally in
hvm_vcpu_initialise() even though nestedhvm has not been configured for this
domain. This then fails because there is no nestedhvm handler for Intel yet.
This bug should be fixed by 23175:e5a750d1bf9b, arriving at a staging
tree near you at any moment.

And beyond that it's most likely an issue of a broken failure path, or a
problem in the HAP code with cleaning up a half-created guest.
This one I'll look into now.


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>