From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Omar Khan <okhan-e94Sedi4moU@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: unhandled vm exit: 0x9
Date: Sun, 01 Apr 2007 10:27:37 +0300 [thread overview]
Message-ID: <460F5EE9.3020904@qumranet.com> (raw)
In-Reply-To: <loom.20070331T022818-150-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
Omar Khan wrote:
> hi,
> I am trying to run an experimental operating system 'Choices' on kvm and it
> is giving me the 'unhandled vm exit: 0x9' error. It runs fine with the -no-kvm
> switch though. In an earlier post
> (http://article.gmane.org/gmane.comp.emulators.kvm.devel/
> 654/match=unhandled+vm+exit) Avi said that "Exit 9 is a hardware task switch,
> which is not supported by vmx" Can someone please elaborate on this. Also any
> ideas on how to handle this?
>
x86 supports a hardware task switch mechanism, almost an OS in
hardware. As no modern OS uses it, vmx (as well as svm and x86-64) does
not support it.
There can be two causes for this:
- your OS actually uses the hardware task switch mechanism. in this
case, you need to emulate its behavior in kvm.
- some bug in kvm caused this to be triggered accidentally.
You can determine which case you're seeing by adding a printf() to the
qemu task switch emulation and running with -no-kvm. The place to put
it is probably switch_tss() in target-i386/helper.c.
--
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
prev parent reply other threads:[~2007-04-01 7:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-31 0:58 unhandled vm exit: 0x9 Omar Khan
[not found] ` <loom.20070331T022818-150-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2007-04-01 7:27 ` 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=460F5EE9.3020904@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=okhan-e94Sedi4moU@public.gmane.org \
/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