hw/vfio/pci-quirks: Resolve redundant property getters
commit8f1b6087983ed417ca142c0a7fd7080cc279e0f5
authorBernhard Beschow <shentey@gmail.com>
Tue, 1 Mar 2022 22:52:19 +0000 (1 23:52 +0100)
committerAlistair Francis <alistair.francis@wdc.com>
Tue, 24 May 2022 00:38:50 +0000 (24 10:38 +1000)
treea661bcedbcd81e7078c860c52d45869b1bff3bd4
parentbc573816692357e4c824d5c1df73987d3f0ea0c4
hw/vfio/pci-quirks: Resolve redundant property getters

The QOM API already provides getters for uint64 and uint32 values, so reuse
them.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220301225220.239065-2-shentey@gmail.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/vfio/pci-quirks.c