qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] The first function called after migration for a block d


From: Paolo Bonzini
Subject: Re: [Qemu-devel] The first function called after migration for a block device
Date: Mon, 30 Jun 2014 12:48:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Il 28/06/2014 00:54, Xiongzi Ge ha scritto:
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?

Let me quote again:

    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




reply via email to

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