qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Flush pending AIO on reboot and shutdown.
Date: Wed, 13 Aug 2008 17:14:25 +0100	[thread overview]
Message-ID: <20080813161425.GV6165@implementation.uk.xensource.com> (raw)
In-Reply-To: <20080813144148.GE17567@minantech.com>

Avi Kivity wrote:
> Why not? IIUC triple fault is exported as a cpu pin, which the chipset/
> motherboard wires into the board-level reset line.

Ah ok, I didn't know it was propagated further than the cpu.  Probably a
good thing actually :)

> I think the bios can expect the IDE hardware (or any other device) to be
> quiescent on entry. It doesn't make sense to initiate an explicit reset
> immediately after boot; that would slow things down.

Well, the Bios reset entry could be entered by "accident" too :)
Actually windows drivers used to break my video board so badly that I
had to manually reset my machine before booting Linux.

Well, anyway, I agree with Anthony: the IDE emulation should behave
like hardware: try to cancel pending requests and wait for everything
to finish, instead of possibly writing what the bios puts in the being
written pages :) And it should reset the DMA engines too.

The block layer itself could have a last sync check.

Samuel

  reply	other threads:[~2008-08-13 16:14 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-13 13:23 [Qemu-devel] [PATCH] Flush pending AIO on reboot and shutdown Gleb Natapov
2008-08-13 13:46 ` Samuel Thibault
2008-08-13 13:59   ` Gleb Natapov
2008-08-13 14:06     ` Samuel Thibault
2008-08-13 14:25       ` Gleb Natapov
2008-08-13 14:29         ` Samuel Thibault
2008-08-13 14:40           ` Avi Kivity
2008-08-13 14:41           ` Gleb Natapov
2008-08-13 16:14             ` Samuel Thibault [this message]
2008-08-13 13:52 ` Anthony Liguori
2008-08-13 14:13   ` Gleb Natapov
2008-08-13 15:07     ` Anthony Liguori
2008-08-13 15:18       ` Avi Kivity
2008-08-13 15:47         ` Anthony Liguori
2008-08-13 16:36           ` Avi Kivity
2008-08-13 15:23       ` Gleb Natapov
2008-08-13 15:53         ` Anthony Liguori
2008-08-13 18:35           ` Gleb Natapov
2008-08-13 18:40             ` Avi Kivity
2008-08-13 18:53               ` Gleb Natapov
2008-08-13 19:04                 ` Anthony Liguori
2008-08-14 10:26                   ` Jamie Lokier
2008-08-13 19:03             ` Anthony Liguori
2008-08-13 22:32               ` Samuel Thibault

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=20080813161425.GV6165@implementation.uk.xensource.com \
    --to=samuel.thibault@ens-lyon.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).