OSDN Git Service

vfio/pci: Fix bootindex
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 22 Jul 2015 20:56:01 +0000 (14:56 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 22 Jul 2015 20:56:01 +0000 (14:56 -0600)
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 <alex.williamson@redhat.com>
Cc: qemu-stable@nongnu.org # v2.3+
hw/vfio/pci.c

index 0af762a..4023d8e 100644 (file)
@@ -3749,7 +3749,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?