From: Jan Kiszka <jan.kiszka@web.de>
To: Mohammed Gamal <m.gamal005@gmail.com>
Cc: Anthony Liguori <anthony@codemonkey.ws>,
kvm@vger.kernel.org, Avi Kivity <avi@qumranet.com>,
Rik van Riel <riel@surriel.com>
Subject: Re: [Regression] kvm-userspace: VM freezes after booting FreeDOS
Date: Thu, 10 Jul 2008 23:22:59 +0200 [thread overview]
Message-ID: <48767DB3.7090701@web.de> (raw)
In-Reply-To: <52d4a3890807101332v2cfe5604g78dc2d225e3c67d9@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2662 bytes --]
Mohammed Gamal wrote:
> On Thu, Jul 10, 2008 at 11:02 PM, Anthony Liguori <anthony@codemonkey.ws> wrote:
>> Mohammed Gamal wrote:
>>> On Thu, Jul 10, 2008 at 7:31 PM, Anthony Liguori <anthony@codemonkey.ws>
>>> wrote:
>>>
>>>> Mohammed Gamal wrote:
>>>>
>>>>> After updating my kvm-userspace tree to the latest git tree. I am no
>>>>> more able to run FreeDOS. The VM freezes after choosing any of the
>>>>> boot options. I am running both latest kvm.git and kvm-userspace.git
>>>>>
>>>>>
>>>> Can you bisect to the commit that broke it?
>>>>
>>>> Regards,
>>>>
>>>> Anthony Liguori
>>>>
>>> I did, it seems that commit 04c3265c95c12e7c6e73cfd07357c05db6a1bda8
>>> caused it. Everything works fine after I reverted it.
>>>
>> Thats:
>>
>> commit 04c3265c95c12e7c6e73cfd07357c05db6a1bda8
>> Author: Jan Kiszka <jan.kiszka@web.de>
>> Date: Fri May 16 09:21:47 2008 +0200
>>
>> kvm: qemu: consolidate kvm_eat_signal
>> With the io thread signals are rare. Remove looping over
>> kvm_eat_signal and fold everything into kvm_main_loop_wait.
>> Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
>> Signed-off-by: Avi Kivity <avi@qumranet.com>
>>
>>
>> Hrm, that's disturbing. Unfortunately, the patch is a bit more than just
>> code motion. It does change the number of times the lock is released and
>> makes some minor changes to the code. Nothing obvious that would cause the
>> breakage without digging into it.
>>
>> How did you create your freedos image? I'd like to try and figure out what
>> the problem is here since it may be causing other issues.
>>
>
> The image is a 500M image created using qemu-img (not using qcow).
> FreeDOS was installed using the base CD image which you can get from
> here: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/fdbasecd.iso
>
> After booting FreeDOS, there are a number of boot options with
> different memory extenders, after selecting any option the system
> freezes and I get [Stopped] in thr QEMU title bar.
"Stopped" - interesting. Seems like something causes QEMU to stop the
guest as if some breakpoint was injected.
I just downloaded that image and gave it a try against vanilla kvm-70
and my own tree which is augment with guest debugging related patches.
The former shows your observed behavior (Boot from CD, provide an empty
HD image -> press '1' + ENTER -> press '1' -> "Stopped"). The latter kvm
tree made QEMU leave with a #GP in the guest. That may point to a debug
register related issue, and that patch you identified just happen to
make it visible. However, will try to investigate.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
next prev parent reply other threads:[~2008-07-10 21:23 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-10 15:47 [Regression] kvm-userspace: VM freezes after booting FreeDOS Mohammed Gamal
2008-07-10 15:48 ` Mohammed Gamal
2008-07-10 16:31 ` Anthony Liguori
2008-07-10 19:52 ` Mohammed Gamal
2008-07-10 20:02 ` Anthony Liguori
2008-07-10 20:32 ` Mohammed Gamal
2008-07-10 20:33 ` Mohammed Gamal
2008-07-10 21:22 ` Jan Kiszka [this message]
2008-07-10 22:59 ` Mohammed Gamal
2008-07-11 10:53 ` Jan Kiszka
2008-07-11 14:55 ` Mohammed Gamal
2008-07-12 11:19 ` Jan Kiszka
2008-07-13 7:54 ` Avi Kivity
2008-07-13 9:09 ` Jan Kiszka
2008-07-13 9:26 ` Mohammed Gamal
2008-07-13 10:08 ` Avi Kivity
2008-07-13 9:55 ` 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=48767DB3.7090701@web.de \
--to=jan.kiszka@web.de \
--cc=anthony@codemonkey.ws \
--cc=avi@qumranet.com \
--cc=kvm@vger.kernel.org \
--cc=m.gamal005@gmail.com \
--cc=riel@surriel.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