[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] vhost-vdpa: improve error reporting
From: |
Laurent Vivier |
Subject: |
Re: [PATCH 2/2] vhost-vdpa: improve error reporting |
Date: |
Wed, 9 Sep 2020 10:45:13 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 09/09/2020 03:53, Jason Wang wrote:
>
> On 2020/9/4 上午2:53, Laurent Vivier wrote:
>> Use Error framework to report the id of the device and the details of
>> the error (vhostdev name and errno).
>>
>> For instance:
>>
>> qemu-system-x86_64 ... -netdev vhost-vdpa,id=hostnet1 ...
>> hostnet1: Cannot open '/dev/vhost-vdpa-0': No such file or directory
>>
>> Signed-off-by: Laurent Vivier <lvivier@redhat.com>
>> ---
>> net/vhost-vdpa.c | 14 ++++++++++----
>> 1 file changed, 10 insertions(+), 4 deletions(-)
>
>
> Hi Laurent:
>
> If you don't mind I will add this patch to v2 of my series[1]
Yes, please. I think it could replace the PATCH 3 of your series.
Thanks,
Laurent