qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] hw/arm/virt: error_report cleanups


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] hw/arm/virt: error_report cleanups
Date: Tue, 10 Nov 2015 09:31:15 +0000

On 9 November 2015 at 18:52, Markus Armbruster <address@hidden> wrote:
> Peter Maydell <address@hidden> writes:
>> Thanks, I had missed this useful improvement to the API.
>> How does it work in cases like this where we don't have
>> an Error* to fill in?
>
> You do what error_report_err() would do had you had an Error *err to
> fill in:

> In other words, you print the error message proper with error_report(),
> and the additional information with error_printf().

...so in conclusion Andrew's patch is correct as it stands
and I should just apply it? :-)

thanks
-- PMM



reply via email to

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