|
From: | Cédric Le Goater |
Subject: | Re: [PATCH RFC v1 1/3] vfio/pci: detect the support of dynamic MSI-X allocation |
Date: | Mon, 31 Jul 2023 09:25:39 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 7/31/23 05:57, Liu, Jing2 wrote:
Hi C.On July 28, 2023 4:44 PM, Cédric Le Goater <clg@redhat.com> wrote: [ ... ]Sorry I didn't quite understand "info.flags be tested againstVFIO_IRQ_INFO_NORESIZE".I saw kernel < 6.4 simply added NORESIZE to info.flags and latest kernel addsif has_dyn_msix.Would you please kindly describe more on your point?I was trying to find the conditions to detect safely that the kernel didn't have dynamic MSI-X support. Testing VFIO_IRQ_INFO_NORESIZE seems enough.Oh, I see.In that case, QEMU should report an error and the trace event is notneeded.I replied an email with new error handling draft code based on my understanding, which reports the error and need no trace. Could you pleasehelp review if that is what we want? yes. It looked good. Please send a v1 !Thanks for reviewing that. I guess you mean v2 for next version 😊
Well, if you remove the RFC status, I think you should, this would still be a v1. Thanks, C.
[Prev in Thread] | Current Thread | [Next in Thread] |