vfio/quirks: Add common quirk alloc helper
commitbcf3c3d029e73d54455e1d7a51177c37d668378c
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 5 Jun 2018 14:23:16 +0000 (5 08:23 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 5 Jun 2018 14:23:16 +0000 (5 08:23 -0600)
tree7c30116635dd2c5ff03db6b2ee18df0654c319ff
parentf88b44f9eb2fbba6540db782b5eaa7efbcb0e266
vfio/quirks: Add common quirk alloc helper

This will later be used to include list initialization.

Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/pci-quirks.c