xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Mukesh Rathor <mukesh.rathor@ORACLE.COM>
To: Keir Fraser <keir.xen@gmail.com>
Cc: Jan,
	"Xen-devel@lists.xensource.com" <Xen-devel@lists.xensource.com>,
	Ian Campbell <Ian.Campbell@citrix.com>
Subject: Re: PV hybrid: vmlaunch failure help...
Date: Fri, 4 Mar 2011 18:29:38 -0800	[thread overview]
Message-ID: <20110304182938.128327d7@mantra.us.oracle.com> (raw)
In-Reply-To: <C996484F.141FE%keir.xen@gmail.com>

On Fri, 04 Mar 2011 07:42:07 +0000
Keir Fraser <keir.xen@gmail.com> wrote:

> On 04/03/2011 03:21, "Mukesh Rathor" <mukesh.rathor@oracle.com> wrote:
> 
> > Hi all,
> I was going to look into this feature myself, it's good someone else
> has picked it up so I don't have to. :-)
> 
> For this particular vmentry failure, Vol.3B Section 23.3.1 lists all
> the guest-state checks carried out on vmentry. There are quite a few
> of them, but you simply need to check your state dump against every
> check until you find a mismatch. I believe someone had a function
> that implemented all/most of these checks in a diagnostic helper
> function -- I can't find the patch just now unfortunately.
> 
>  -- Keir

Yey, success finally! I am able to enter the vmx to the first
instruction after seeing hundreds for "guest state invalid" for
sometime.  It appears that attrs must be set for all descriptors. That
seems in conflict with somewhere in manual that null selectors cause
descriptors to be ignored.  I wish the vendors would provide flow chart
of exact microcode execution for 'vmlaunch'. It is an assembler
instruction after all, and the programmer deserves to know everything
it's doing and the order it's doing in :)... 

Anyways, I hope to make good progress on it now, and if I can get my
hacked up version at least stable enough, will run some benchmarks. I'm
on vacation next month, but I hope to have something to report to you guys
middle/end of May.

thanks,
Mukesh

  reply	other threads:[~2011-03-05  2:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-04  3:21 PV hybrid: vmlaunch failure help Mukesh Rathor
2011-03-04  7:42 ` Keir Fraser
2011-03-05  2:29   ` Mukesh Rathor [this message]
2011-03-04  9:37 ` Jan Beulich

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=20110304182938.128327d7@mantra.us.oracle.com \
    --to=mukesh.rathor@oracle.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Xen-devel@lists.xensource.com \
    --cc=keir.xen@gmail.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).