Message ID | 1352918847-3696-26-git-send-email-kwolf@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/hw/megasas.c b/hw/megasas.c index 291ff40..61b6527 100644 --- a/hw/megasas.c +++ b/hw/megasas.c @@ -1296,7 +1296,7 @@ static int megasas_dcmd_get_properties(MegasasState *s, MegasasCmd *cmd) static int megasas_cache_flush(MegasasState *s, MegasasCmd *cmd) { - qemu_aio_flush(); + bdrv_drain_all(); return MFI_STAT_OK; }