xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Keir Fraser <keir.xen@gmail.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	xen-devel@lists.xensource.com
Subject: Re: XEN) vmx.c:2652:d1 Bad vmexit (reason 31) with Xen 4.0.1-rc7-pre (cs/ 23029)
Date: Thu, 17 Mar 2011 23:27:01 +0000	[thread overview]
Message-ID: <C9A84945.15050%keir.xen@gmail.com> (raw)
In-Reply-To: <20110317202605.GA25684@dumpdata.com>

On 17/03/2011 20:26, "Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com> wrote:

> 
> The guest config is quite simple:
> 
> kernel = "/usr/lib/xen/boot/hvmloader"
> builder='hvm'
> memory=1024
> #maxmem=1024
> maxvcpus = 4
> serial='pty'
> vcpus = 2
> disk = [ 'file:/mnt/lab/latest/root_image.iso,hdc:cdrom,r']
> boot="dn"
> vif = [ 'type=ioemu,model=e1000,mac=00:0F:4B:00:00:71, bridge=switch' ]
> vfb = [ 'vnc=1, vnclisten=0.0.0.0,vncunused=1']
> 
> And this is what shows up after I do 'xm create hvm.xm' (or xl create hvm.xm).
> 
>   alloc irq_desc for 4223 on node -1
>   alloc kstat_irqs on node -1
> (XEN) vmx.c:2652:d1 Bad vmexit (reason 31)

Exit reason 31 is EXIT_REASON_MSR_READ. I don't see how that error can ever
be printed for that exit reason. Could you do a bit of digging and see if
you agree? The logic is straightforward enough -- the error comes from a
default case in a switch statement, but the switch does explicitly handle
EXIT_REASON_MSR_READ. There is also a exit_and_crash label for the default
case, but EXIT_REASON_MSR_READ doesn't goto it afaics. So this is a weird
and inexplicable bug, to me. :-)

 -- Keir

  parent reply	other threads:[~2011-03-17 23:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-17 20:26 XEN) vmx.c:2652:d1 Bad vmexit (reason 31) with Xen 4.0.1-rc7-pre (cs/ 23029) Konrad Rzeszutek Wilk
2011-03-17 20:34 ` Konrad Rzeszutek Wilk
2011-03-17 23:27 ` Keir Fraser [this message]
2011-03-18  0:10   ` Konrad Rzeszutek Wilk
2011-03-18  0:47     ` Konrad Rzeszutek Wilk
2011-03-18  7:55   ` Jan Beulich
2011-03-18 15:31     ` Keir Fraser
2011-03-20 20:37       ` Konrad Rzeszutek Wilk
2011-03-20 22:43         ` Kay, Allen M
2011-03-21 11:35           ` Konrad Rzeszutek Wilk

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=C9A84945.15050%keir.xen@gmail.com \
    --to=keir.xen@gmail.com \
    --cc=konrad.wilk@oracle.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).