From: Alex Williamson Date: Wed, 22 Jul 2015 20:56:01 +0000 (-0600) Subject: vfio/pci: Fix bootindex X-Git-Tag: v2.3.1~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=98fe91ed66f09001a596009625210fb0d9324c50;p=thirdparty%2Fqemu.git vfio/pci: Fix bootindex bootindex was incorrectly changed to a device Property during the platform code split, resulting in it no longer working. Remove it. Signed-off-by: Alex Williamson Cc: qemu-stable@nongnu.org # v2.3+ (cherry picked from commit 759b484c5d7f92bd01f98797c07e8543ee187888) Signed-off-by: Michael Roth --- diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c index 73fd89eb3e0..beaa306e9fe 100644 --- a/hw/vfio/pci.c +++ b/hw/vfio/pci.c @@ -3556,7 +3556,6 @@ static Property vfio_pci_dev_properties[] = { VFIO_FEATURE_ENABLE_VGA_BIT, false), DEFINE_PROP_BIT("x-req", VFIOPCIDevice, features, VFIO_FEATURE_ENABLE_REQ_BIT, true), - DEFINE_PROP_INT32("bootindex", VFIOPCIDevice, bootindex, -1), DEFINE_PROP_BOOL("x-mmap", VFIOPCIDevice, vbasedev.allow_mmap, true), /* * TODO - support passed fds... is this necessary?