qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PULL 7/7] error: On abort, report where the error was


From: Eric Blake
Subject: Re: [Qemu-devel] [PULL 7/7] error: On abort, report where the error was created
Date: Thu, 10 Sep 2015 10:38:47 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

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

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