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: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v1] memory: call log_start after region_add
Date: Mon, 16 Oct 2017 14:19:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

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.

Paolo



reply via email to

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