RE: [PATCH v3 4/9] msix: simplify the conditional in msix_set/unset_vector_notifiers

2021-10-07 Thread Longpeng (Mike, Cloud Infrastructure Service Product Dept.)
> m...@redhat.com; qemu-devel@nongnu.org; Gonglei (Arei) > ; chenjiashang > Subject: Re: [PATCH v3 4/9] msix: simplify the conditional in > msix_set/unset_vector_notifiers > > On Tue, 21 Sep 2021 07:01:57 +0800 > "Longpeng(Mike)" wrote: > > > 'msix_functio

Re: [PATCH v3 4/9] msix: simplify the conditional in msix_set/unset_vector_notifiers

2021-10-01 Thread Alex Williamson
On Tue, 21 Sep 2021 07:01:57 +0800 "Longpeng(Mike)" wrote: > 'msix_function_masked' is synchronized with the device's config, > we can use it to replace the complex conditional statementis in > msix_set/unset_vector_notifiers. > > Signed-off-by: Longpeng(Mike) > --- > hw/pci/msix.c | 6 ++

[PATCH v3 4/9] msix: simplify the conditional in msix_set/unset_vector_notifiers

2021-09-20 Thread Longpeng(Mike)
'msix_function_masked' is synchronized with the device's config, we can use it to replace the complex conditional statementis in msix_set/unset_vector_notifiers. Signed-off-by: Longpeng(Mike) --- hw/pci/msix.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git