All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: G 3 <programmingkidx@gmail.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	Peter Crosthwaite <peter.crosthwaite@xilinx.com>,
	qemu-devel qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Bug report - Windows XP guest failure
Date: Thu, 07 May 2015 09:47:03 +0300	[thread overview]
Message-ID: <554B0A67.5050107@msgid.tls.msk.ru> (raw)
In-Reply-To: <554B024B.90101@msgid.tls.msk.ru>

07.05.2015 09:12, Michael Tokarev wrote:
> 07.05.2015 04:11, G 3 wrote:
>> Did you boot Windows XP to the desktop? I have tested Windows 95, Windows 2000, and Windows XP. All of them fail to boot to the desktop.
> 
> Yes, booted to desktop and did some minimal work in there,
> installnig one update or two.
> 
>> Command used:
>> ./i386-softmmu/qemu-system-i386 -boot c -hda "Windows XP Hard Drive.img" 
> 
> Aha. You run without kvm, in tcg mode.  I don't usually do that,
> lemme try...

Ok, I can reproduce this, winXP BSODs on boot in tcg mode.
Git bisect points to this:

commit 23820dbfc79d1c9dce090b4c555994f2bb6a69b3
Author: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Date:   Mon Mar 16 22:35:54 2015 -0700

    exec: Respect as_translate_internal length clamp

    address_space_translate_internal will clamp the *plen length argument
    based on the size of the memory region being queried. The iommu walker
    logic in addresss_space_translate was ignoring this by discarding the
    post fn call value of *plen. Fix by just always using *plen as the
    length argument throughout the fn, removing the len local variable.

    This fixes a bootloader bug when a single elf section spans multiple
    QEMU memory regions.

    Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
    Message-Id: <1426570554-15940-1-git-send-email-peter.crosthwaite@xilinx.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Cc'ing relevant people.

/mjt

  reply	other threads:[~2015-05-07  6:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-06  5:41 [Qemu-devel] Bug report - Windows XP guest failure Programmingkid
2015-05-06  7:35 ` Michael Tokarev
     [not found]   ` <FE644B41-6D14-4C4F-ABAD-5D33A3DDFC48@gmail.com>
2015-05-07  1:11     ` G 3
2015-05-07  6:12       ` Michael Tokarev
2015-05-07  6:47         ` Michael Tokarev [this message]
2015-05-07  9:34           ` Michael Tokarev
2015-05-11 21:57             ` Programmingkid
2015-05-12  1:05             ` Peter Crosthwaite
2015-05-12  7:11               ` Paolo Bonzini
2015-05-12  7:22               ` Michael Tokarev
2015-05-12 16:18                 ` John Snow
2015-05-13  9:01                 ` Paolo Bonzini
2015-06-14  9:55                   ` Mark Cave-Ayland
2015-06-14 14:56                     ` Programmingkid
2015-06-17 12:23                     ` Paolo Bonzini
2015-05-07 15:07           ` Programmingkid

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=554B0A67.5050107@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=pbonzini@redhat.com \
    --cc=peter.crosthwaite@xilinx.com \
    --cc=programmingkidx@gmail.com \
    --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.