On 09/10/2015 10:21 AM, Eric Blake wrote:

> Already in mainline, but I'm wondering...
> 
> 
>> +++ b/util/error.c
>> @@ -18,12 +18,23 @@ struct Error
>>  {
>>      char *msg;
>>      ErrorClass err_class;
>> +    const char *src, *func;
>> +    int line;
>>  };
>>  
> 
> Should we also be modifying error_copy() to propagate source information
> into the copy?

Rather than just wondering, I've proposed a patch:
http://thread.gmane.org/gmane.comp.emulators.qemu/361110/focus=361117

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to