public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: Nitin A Kamble <nitin.a.kamble@intel.com>, kvm@vger.kernel.org
Subject: Re: [patch] VMX Unrestricted mode support
Date: Sun, 31 May 2009 19:01:03 +0300	[thread overview]
Message-ID: <4A22A9BF.7010302@redhat.com> (raw)
In-Reply-To: <4A22A0DB.8050906@codemonkey.ws>

Anthony Liguori wrote:
> Nitin A Kamble wrote:
>   
>> Avi,
>>
>> A new VMX feature "Unrestricted Guest" feature is added in the VMX
>> specification. You can look at the latest Intel processor manual for
>> details of the feature here:
>>
>>  http://www.intel.com/products/processor/manuals
>>
>>     It allows kvm guests to run real mode and unpaged mode
>> code natively in the VMX mode when EPT is turned on. With the
>> unrestricted guest there is no need to emulate the guest real mode code
>> in the vm86 container or in the emulator. Also the guest big real mode
>> code works like native. 
>>
>>   The attached patch enhances KVM to use the unrestricted guest feature
>> if available on the processor. It also adds a new kernel/module
>> parameter to disable the unrestricted guest feature at the boot time. 
>>
>> Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
>>
>> Thanks & Regards,
>> Nitin
>>   
>>     
>
> It may make sense to expose this as a CAP down to userspace.
>
> We could possibly make better error messages in userspace when we get an
> unknown vmexit failure on pre-wsm hardware.
>   

If we see the dreaded 0x80000021 and CR0.PE=0, then we're likely seeing 
a real mode emulation problem.

-- 
error compiling committee.c: too many arguments to function


      reply	other threads:[~2009-05-31 16:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-28 23:11 [patch] VMX Unrestricted mode support Nitin A Kamble
2009-05-28 23:39 ` Alexey Eremenko
2009-05-29  4:04   ` [patch] VMX Unrestricted guest " Nitin A Kamble
2009-05-31  8:39 ` [patch] VMX Unrestricted " Avi Kivity
2009-06-01 18:06   ` Nitin A Kamble
2009-06-01 18:35     ` Nitin A Kamble
2009-06-01 18:38       ` Avi Kivity
2009-06-03 18:08         ` Nitin A Kamble
2009-06-03 18:18           ` Nitin A Kamble
2009-06-03 18:20           ` Avi Kivity
2009-06-04 18:13           ` Jan Kiszka
2009-05-31 15:23 ` Anthony Liguori
2009-05-31 16:01   ` Avi Kivity [this message]

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=4A22A9BF.7010302@redhat.com \
    --to=avi@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=kvm@vger.kernel.org \
    --cc=nitin.a.kamble@intel.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