From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: [kvm-devel] FreeBSD image hangs during boot
Date: Thu, 08 Nov 2007 11:22:58 +0100 [thread overview]
Message-ID: <4732E382.2070402@bellard.org> (raw)
In-Reply-To: <4732DE33.4080004@qumranet.com>
Avi Kivity wrote:
> Fabrice Bellard wrote:
>> Avi Kivity wrote:
>>> Aurelien Jarno wrote:
>>>> Well the IDE code hasn't changed a lot recently, so I checked the CVS
>>>> history and easily (first test) found the commit that causes the
>>>> problem:
>>>>
>>>> Last AIO patch, by Vladimir N. Oleynik.
>>>>
>>>> http://cvs.savannah.nongnu.org/viewvc/qemu/hw/ide.c?root=qemu&r1=1.64&r2=1.65
>>>>
>>>>
>>>>
>>>
>>> Have we learned something about this issue? Should I revert the patch
>>> from kvm? Should qemu?
>>
>> Sure. The conversion from sync to async mode done in this patch is
>> incomplete to say the least.
>>
>
> Is reverting the patch safe, or will it cause new problems?
The patch must be reverted because it implements incorrectly the AIO
write case (e.g. nsector is modified before the IO actually takes
place). The previous code was at least correct if win2k_install_hack was
not enabled and if one considered than the PIO I/Os were instantaneous.
Regards,
Fabrice.
next prev parent reply other threads:[~2007-11-08 10:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <47022E7E.3030509@aurel32.net>
[not found] ` <470234DF.6030802@qumranet.com>
[not found] ` <470237DC.5060008@aurel32.net>
[not found] ` <47027161.50004@qumranet.com>
[not found] ` <47027586.9020508@aurel32.net>
[not found] ` <47027A01.5080903@aurel32.net>
[not found] ` <47027F25.80001@aurel32.net>
[not found] ` <470CB4DE.20707@qumranet.com>
[not found] ` <470CD1F1.20305@aurel32.net>
[not found] ` <470CD22C.5050003@qumranet.com>
2007-10-10 13:47 ` [Qemu-devel] Re: [kvm-devel] FreeBSD image hangs during boot Aurelien Jarno
2007-11-08 6:41 ` Avi Kivity
2007-11-08 9:25 ` Fabrice Bellard
2007-11-08 10:00 ` Avi Kivity
2007-11-08 10:22 ` Fabrice Bellard [this message]
2007-11-08 9:44 ` Aurelien Jarno
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=4732E382.2070402@bellard.org \
--to=fabrice@bellard.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).