qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v1 14/24] vfio-user: get and set IRQs


From: John Johnson
Subject: Re: [PATCH v1 14/24] vfio-user: get and set IRQs
Date: Thu, 2 Feb 2023 05:21:11 +0000


> On Dec 13, 2022, at 8:39 AM, Cédric Le Goater <clg@redhat.com> wrote:
> 
> On 11/9/22 00:13, John Johnson wrote:
>> 
>> diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
>> index 7abe44e..be39a4e 100644
>> --- a/hw/vfio/pci.c
>> +++ b/hw/vfio/pci.c
>> @@ -713,7 +713,8 @@ retry:
>>      ret = vfio_enable_vectors(vdev, false);
>>      if (ret) {
>>          if (ret < 0) {
>> -            error_report("vfio: Error: Failed to setup MSI fds: %m");
>> +            error_report("vfio: Error: Failed to setup MSI fds: %s",
>> +                         strerror(-ret));
> 
> This change belongs to another patch.
> 

        This is the patch where errno may not be set because
vfio_enable_vectors() didn’t make a syscall.

                                                        JJ



reply via email to

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