qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Flush pending AIO on reboot and shutdown.


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] Flush pending AIO on reboot and shutdown.
Date: Wed, 13 Aug 2008 10:47:44 -0500
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

Avi Kivity wrote:
Anthony Liguori wrote:
I though about doing it this way, but then I saw that qemu_register_reset() is used for HW reset notification only. I don't think that hw/ide.c is the
right place to register the notifier though, so I decided to call it
explicitly. Do you think I should do qemu_register_reset() in block.c?

But shouldn't the various disk types be the ones to flush their outstanding IO on reset?

Do you mean qemu block drivers, or disk controllers?

The disk controllers. It's a semantic of the disk controller itself (what happens on reset if there are outstanding requests). Do those requests complete or are the cancelled?

Regards,

Anthony Liguori






reply via email to

[Prev in Thread] Current Thread [Next in Thread]