qapi: Create DEFINE_PROP_OFF_AUTO_PCIBAR
commitc3bbbdbf4b0fcb116ed9b6bae35971e354ab7e42
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 6 Feb 2018 18:08:26 +0000 (6 11:08 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 6 Feb 2018 18:08:26 +0000 (6 11:08 -0700)
treeb94b19716fe50699f96526a1b1f154b65d300eee
parent04f336b05ff54f53234b391e444226d8c2481fb7
qapi: Create DEFINE_PROP_OFF_AUTO_PCIBAR

Add an option which allows the user to specify a PCI BAR number,
including an 'off' and 'auto' selection.

Cc: Markus Armbruster <armbru@redhat.com>
Cc: Eric Blake <eblake@redhat.com>
Tested-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/core/qdev-properties.c
include/hw/qdev-properties.h
qapi/common.json