public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Philipp Hahn <hahn@univention.de>
To: kvm@vger.kernel.org
Subject: Re: 32 bit Kvm running 32 bit WindowsXp hangs on reboot
Date: Fri, 6 Aug 2010 18:13:03 +0200	[thread overview]
Message-ID: <201008061813.08263.hahn@univention.de> (raw)
In-Reply-To: <201008061349.43211.hahn@univention.de>

[-- Attachment #1: Type: text/plain, Size: 1538 bytes --]

Hello again,

I did some more debugging myself:

Am Freitag 06 August 2010 13:49:36 schrieb Philipp Hahn:
> [... Windows XP hangs on reboot...]
...
> If I do a "cont", kvm prints the following error message:
> (qemu) cont
> kvm: unhandled exit ffffffff
> kvm_run returned -22

These two lines are caused by kvm because these functions are called  in this 
order:
  qemu-kvm-0.12.4/qemu-kvm.c#kvm_cpu_exec()
  qemu-kvm-0.12.4/qemu-kvm.c#kvm_run()
  qemu-kvm-0.12.4/qemu-kvm.c#handle_unhandled()
-22 = -EINVAL == Invalid Argument

The ffffffff is from the Kernel:
  linux-2.6.32.17/arch/x86/kvm/svm.c#vmrun_interception()
    run->hw.hardware_exit_reason = SVM_EXIT_ERR
That line is executed because the folloing error occured previous to the line:
  linux-2.6.32.17/arch/x86/kvm/svm.c#nested_svm_vmrun_msrpm() <- false
  linux-2.6.32.17/arch/x86/kvm/svm.c#nested_svm_map() <- NULL

To me this looks like there's a problem with the virtual memory mapping, but 
since I know very little about KVMs internal working, I have no idea on how 
to proceed. Anybody any idea?

Sincerely
Philipp

PS: As you can see from the 'svm.c', it's on an AMD Athlon(tm) II X2 250 
Processor stepping 02.
-- 
Philipp Hahn           Open Source Software Engineer      hahn@univention.de   
Univention GmbH        Linux for Your Business        fon: +49 421 22 232- 0
Mary-Somerville-Str.1  28359 Bremen                   fax: +49 421 22 232-99
                                                    http://www.univention.de

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2010-08-06 16:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-06 11:49 32 bit Kvm running 32 bit WindowsXp hangs on reboot Philipp Hahn
2010-08-06 16:13 ` Philipp Hahn [this message]
2010-08-12  9:08   ` 32 bit Kvm running 32 bit WindowsXp hangs on reboot [SOLVED] Philipp Hahn

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=201008061813.08263.hahn@univention.de \
    --to=hahn@univention.de \
    --cc=kvm@vger.kernel.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