qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v1] memory: call log_start after region_add


From: David Hildenbrand
Subject: Re: [Qemu-devel] [PATCH v1] memory: call log_start after region_add
Date: Mon, 16 Oct 2017 14:20:10 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 16.10.2017 14:19, Paolo Bonzini wrote:
> On 16/10/2017 11:36, David Hildenbrand wrote:
>>> -        if (fr->dirty_log_mask && listener->log_start) {
>>> -            listener->log_start(listener, &section, 0, fr->dirty_log_mask);
>>> -        }
>>>          if (listener->region_add) {
>>>              listener->region_add(listener, &section);
>>>          }
>>> +        if (fr->dirty_log_mask && listener->log_start) {
>>> +            listener->log_start(listener, &section, 0, fr->dirty_log_mask);
>>> +        }
>>>      }
>>>      if (listener->commit) {
>>>          listener->commit(listener);
>>>
>> ... deciding to tolerate it in KVM instead (just as it used to be), so
>> please ignore this patch.
> 
> Why?  It makes no sense to start logging on a non-existent region, and
> this behavior is unique to listener_add_address_space.

As you requested, will add everything into one patch series and send out
for review.

Thanks!

-- 

Thanks,

David



reply via email to

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