All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: qemu-devel <qemu-devel@nongnu.org>, Gleb Natapov <gleb@redhat.com>
Subject: Re: [Qemu-devel] current qemu git does not work with win7 guest
Date: Mon, 07 May 2012 11:18:28 -0300	[thread overview]
Message-ID: <4FA7D9B4.9000607@siemens.com> (raw)
In-Reply-To: <4FA7D35F.2060908@msgid.tls.msk.ru>

On 2012-05-07 10:51, Michael Tokarev wrote:
> So, refreshing it all again with more correct information.
> 
> First, it appears that only 32bit version of qemu userspace is
> affected, and only when using 32bit version of guest.  So far,
> either 64bit qemu userpace or 64bit windows7 guest is enough
> for the issue to not show up.  Second, both win7 and winXP
> (32bit) are affected.  Third, current qemu-kvm/master appears
> to be unaffected too.
> 
> The problem is that on first and all subsequent guest REBOOT
> (not first boot but really REBOOT) -- after the guest rebuilt
> its HAL I guess, due to some changes in "hardware" it noticed, --
> the guest BSODs during boot with this code:
> 
>  STOP: 0x0000005C (0x000000000000010B, 0x0000000000000003,
>       0x000000000000000, 0x000000000000000)
> 
> After painful bisection between 1.0 and current git, the result
> is this:
> 
> First bad commit:
> commit 5b6fb069378e61c45c577bbec3d7ef60367f7e4c
> Author: Avi Kivity <avi@redhat.com>
> Date:   Thu Mar 1 12:58:46 2012 +0200
> 
>     pc-bios: update kvmvapic.bin
> 
>     Signed-off-by: Avi Kivity <avi@redhat.com>
> 
> diff --git a/pc-bios/kvmvapic.bin b/pc-bios/kvmvapic.bin
> new file mode 100755
> index 0000000..045f5c2
> Binary files /dev/null and b/pc-bios/kvmvapic.bin differ
> 
> Which, despite the name, actually INTRODUCES kvmvapic.bin,
> not merely updates it.  So apparently this introduction of
> kvmvapic.bin resulted in autoloading implemented earlier to
> starte entering the game, which appears to be this one:
> 
> commit e5ad936b0fd7dfd7fd7908be6f9f1ca88f63b96b
> Author: Jan Kiszka <jan.kiszka@siemens.com>
> Date:   Fri Feb 17 18:31:19 2012 +0100
> 
>     kvmvapic: Introduce TPR access optimization for Windows guests
> 
> And indeed, we're talking about windows guests here...
> 
> Anything I can do further to debug/fix the issue?
> 

I have a 32-bit WinXP here to test (but not a Win7-32) and will give it
a try later. What irritates me is that qemu.git has a problem here but
not latest qemu-kvm.git. Both are very similar now. Hmm, what is your
qemu.git command line again? Does it include "-machine
accel=kvm,kernel_irqchip=on" (to enable in-kernel irqchip)?

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux

  reply	other threads:[~2012-05-07 14:18 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-06 19:03 [Qemu-devel] current qemu git does not work with win7 guest Michael Tokarev
2012-05-07  6:06 ` Michael Tokarev
2012-05-07  7:45   ` Gleb Natapov
2012-05-07  8:01     ` Michael Tokarev
2012-05-07  8:06       ` Gleb Natapov
2012-05-07  8:37         ` Michael Tokarev
2012-05-07  9:54         ` Michael Tokarev
2012-05-07 10:16           ` Gleb Natapov
2012-05-07 10:26             ` Michael Tokarev
2012-05-07 13:51   ` Michael Tokarev
2012-05-07 14:18     ` Jan Kiszka [this message]
2012-05-07 14:35       ` Michael Tokarev
2012-05-07 14:40         ` Jan Kiszka
2012-05-07 14:45         ` Michael Tokarev
2012-05-07 15:32           ` Jan Kiszka
2012-05-07 17:48             ` Michael Tokarev
2012-05-07 18:07               ` Jan Kiszka
2012-05-07 18:21                 ` Michael Tokarev
2012-05-07 16:06     ` Avi Kivity

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=4FA7D9B4.9000607@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=gleb@redhat.com \
    --cc=mjt@tls.msk.ru \
    --cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.