[Top][All Lists]

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

Re: [Qemu-devel] [PATCH 05/22] memory: return bitmap from memory_region_

From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 05/22] memory: return bitmap from memory_region_is_logging
Date: Fri, 27 Mar 2015 07:01:14 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 27/03/2015 06:44, Fam Zheng wrote:
> Based on the commit log that said memory_region_is_logging() only returns 0 or
> (1 << DIRTY_MEMORY_VGA), the new code keeps the truth table. But I don't
> understand why is DIRTY_MEMORY_MIGRATION excluded here and below?

Because DIRTY_MEMORY_MIGRATION is handled via the
log_global_start/log_global_stop mechanism.  The functions I'm patching
here are called only through region_add and region_del, so they do not

The plan is to remove this special case:

>         This is the ugliest patch in the series.  My long-term plan
>         is to get rid of the global start/stop hooks in the
>         MemoryListeners.

but it is not trivial so it's better done in a different patch series.


reply via email to

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