qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] savevm/loadvm/migrate: flush aio while pending BHs


From: Uri Lublin
Subject: [Qemu-devel] [PATCH] savevm/loadvm/migrate: flush aio while pending BHs exist
Date: Mon, 16 Apr 2007 07:43:26 -0700

Hello,

Sometimes (specifically when migrating/saving a guest which is doing a big IO operation, e.g. copying a big file) there are some (aio-related) BH operations pending. These pending BH operations are not saved as state. The ide device does not save these operations either, which may lead to data corruption.

The patch makes sure all pending BH/aio operations are flushed.

Comments/better-alternatives are welcome.

Regards,
    Uri.

Attachment: QEMU_aio_bh_flush.diff
Description: QEMU_aio_bh_flush.diff


reply via email to

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