qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH for 8.1 4/6] vdpa: return errno in vhost_vdpa_get_vring_g


From: Stefano Garzarella
Subject: Re: [RFC PATCH for 8.1 4/6] vdpa: return errno in vhost_vdpa_get_vring_group error
Date: Thu, 23 Mar 2023 09:30:59 +0100

On Wed, Mar 22, 2023 at 06:38:21PM +0100, Eugenio Perez Martin wrote:
On Wed, Mar 22, 2023 at 3:26 PM Stefano Garzarella <sgarzare@redhat.com> wrote:

On Fri, Mar 17, 2023 at 03:55:40PM +0100, Eugenio Pérez wrote:
>We need to tell in the caller, as some errors are expected in a normal
>workflow.  In particular, parent drivers in recent kernels with
>VHOST_BACKEND_F_IOTLB_ASID may not support vring groups.  In that case,
>-ENOTSUP is returned.

So, should we also avoid the error_report if we expect a failure?


It's actually replaced by error_setg in next patches, but I think it
is worth commenting on the patch message for sure.

Okay, I see now :-)

Thanks,
Stefano


Thanks!





reply via email to

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