Re: [PATCH RESEND 1/2] hw/vfio/pci-quirks: Resolve redundant property getters

2022-03-23 Thread Bernhard Beschow
Am 21. März 2022 13:06:29 UTC schrieb "Philippe Mathieu-Daudé" : >On 21/3/22 11:57, Bernhard Beschow wrote: >> Am 1. März 2022 22:52:19 UTC schrieb Bernhard Beschow : >>> The QOM API already provides getters for uint64 and uint32 values, so reuse >>> them. >>> >>> Signed-off-by: Bernhard Beschow

Re: [PATCH RESEND 1/2] hw/vfio/pci-quirks: Resolve redundant property getters

2022-03-21 Thread Philippe Mathieu-Daudé
On 21/3/22 11:57, Bernhard Beschow wrote: Am 1. März 2022 22:52:19 UTC schrieb Bernhard Beschow : The QOM API already provides getters for uint64 and uint32 values, so reuse them. Signed-off-by: Bernhard Beschow Reviewed-by: Philippe Mathieu-Daudé --- hw/vfio/pci-quirks.c | 34

Re: [PATCH RESEND 1/2] hw/vfio/pci-quirks: Resolve redundant property getters

2022-03-21 Thread Bernhard Beschow
Am 1. März 2022 22:52:19 UTC schrieb Bernhard Beschow : >The QOM API already provides getters for uint64 and uint32 values, so reuse >them. > >Signed-off-by: Bernhard Beschow >Reviewed-by: Philippe Mathieu-Daudé >--- > hw/vfio/pci-quirks.c | 34 +- > 1 file

Re: [PATCH RESEND 1/2] hw/vfio/pci-quirks: Resolve redundant property getters

2022-03-02 Thread Bernhard Beschow
Am 1. März 2022 22:52:19 UTC schrieb Bernhard Beschow : >The QOM API already provides getters for uint64 and uint32 values, so reuse >them. > >Signed-off-by: Bernhard Beschow >Reviewed-by: Alistair Francis Meh, I accidently swapped Alistair's Reviewed-by into this patch while dropping it from

[PATCH RESEND 1/2] hw/vfio/pci-quirks: Resolve redundant property getters

2022-03-01 Thread Bernhard Beschow
The QOM API already provides getters for uint64 and uint32 values, so reuse them. Signed-off-by: Bernhard Beschow Reviewed-by: Alistair Francis Reviewed-by: Philippe Mathieu-Daudé --- hw/vfio/pci-quirks.c | 34 +- 1 file changed, 9 insertions(+), 25