xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Jeroen Groenewegen van der Weyden <groen692@grosc.com>
To: Keir Fraser <keir.xen@gmail.com>
Cc: "Christoph.Egger@amd.com" <Christoph.Egger@amd.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Tim Deegan <Tim.Deegan@citrix.com>
Subject: Re: Re: [Xen-users] Nested Virtualisation question
Date: Sat, 09 Apr 2011 12:18:07 +0200	[thread overview]
Message-ID: <4DA0325F.2000203@grosc.com> (raw)
In-Reply-To: <C9C5B9B6.161AA%keir.xen@gmail.com>

The HAP is default set to one, I check this also with a dry run.
Please confirm all this support just amd, because I only have Intel 
overhere.

mfg,
Jeroen

Op 9-4-2011 8:22, Keir Fraser schreef:
> On 09/04/2011 06:07, "Jeroen Groenewegen van der Weyden"
> <groen692@grosc.com>  wrote:
>
>> 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"
> NestedHVM currently requires you to be using an AMD processor with hardware
> nested paging (known as HAP by Xen). Most likely you need to add hap=1 to
> your config file (and hope your processor supports it).
>
>   -- Keir
>
>> +++++++++ 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
>>       vm.start()
>>     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@gmail.com>   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.
>>>
>>> Tim.
>>>
>>>
>
>

  reply	other threads:[~2011-04-09 10:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4D596513.90504@grosc.com>
     [not found] ` <AANLkTim4d14oK-KOwOG2YZzb-n3jyqj6SttM0xMzxC9a@mail.gmail.com>
     [not found]   ` <4D5A2175.3090309@grosc.com>
     [not found]     ` <AANLkTinuoLdRwVEzWUp3-O5Qtjhs4fW8e2+-RacrNjYu@mail.gmail.com>
     [not found]       ` <4D98D969.3050101@grosc.com>
     [not found]         ` <BANLkTi=-8XmWcrx_8Q1ai0DgjnUoiKB+ZQ@mail.gmail.com>
2011-04-04  6:47           ` [Xen-users] Nested Virtualisation question Jeroen Groenewegen van der Weyden
2011-04-04  6:49             ` Jeroen Groenewegen van der Weyden
2011-04-04  9:51             ` Re: [Xen-users] " Tim Deegan
2011-04-04 10:08               ` Jeroen Groenewegen van der Weyden
2011-04-07  5:36               ` Re: [Xen-users] " Jeroen Groenewegen van der Weyden
2011-04-07  7:09                 ` Keir Fraser
2011-04-07  7:14                   ` Keir Fraser
2011-04-07 10:29                     ` Tim Deegan
2011-04-09  5:07                       ` Jeroen Groenewegen van der Weyden
2011-04-09  6:22                         ` Keir Fraser
2011-04-09 10:18                           ` Jeroen Groenewegen van der Weyden [this message]
2011-04-09 11:15                             ` Keir Fraser
2011-04-09 13:32                               ` Jeroen Groenewegen van der Weyden
2011-04-09 14:31                                 ` Keir Fraser
2011-04-07  9:09                   ` Christoph Egger
2011-04-07  9:30                     ` Keir Fraser
2011-04-07  9:04                 ` Christoph Egger
2011-04-07 10:15                   ` Jeroen Groenewegen van der Weyden

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DA0325F.2000203@grosc.com \
    --to=groen692@grosc.com \
    --cc=Christoph.Egger@amd.com \
    --cc=Tim.Deegan@citrix.com \
    --cc=keir.xen@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).