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

2022-02-21 Thread Philippe Mathieu-Daudé
On 17/2/22 23:53, Bernhard Beschow wrote: The QOM API already provides getters for uint64 and uint32 values, so reuse them. Signed-off-by: Bernhard Beschow --- hw/vfio/pci-quirks.c | 34 +- 1 file changed, 9 insertions(+), 25 deletions(-) Reviewed-by:

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

2022-02-17 Thread Bernhard Beschow
The QOM API already provides getters for uint64 and uint32 values, so reuse them. Signed-off-by: Bernhard Beschow --- hw/vfio/pci-quirks.c | 34 +- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/hw/vfio/pci-quirks.c b/hw/vfio/pci-quirks.c index