|
From: | Xiongzi Ge |
Subject: | Re: [Qemu-devel] The first function called after migration for a block device |
Date: | Mon, 30 Jun 2014 10:03:28 -0400 |
Il 28/06/2014 00:54, Xiongzi Ge ha scritto:Let me quote again:
Hi Paolo,
Thanks. I found a function called bdrv_invalidate_cache() in qcow2.c.
After migration, it will be called to invalidate the cache of the block
device?
This function has *nothing* to do with the guest OS's
cache. That cache is managed by the guest OS and, as I have already
told you multiple times, there is *nothing* that QEMU can do about it.
All you can do is use O_DIRECT in the guest.
Did you even *try* to understand this?!?
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |