-
由 Igor Mammedov 提交于
PCIE is causing asserts each time a multifunction device is added on command line (coldplug). This is caused by commit a66e657e pci/pcie: convert PCIE hotplug to use hotplug-handler API QEMU abort is caused by misplaced assertion, which should be checked only when device is hotplugged. Reference to regression report: http://www.mail-archive.com/qemu-devel@nongnu.org/msg216226.html Fixes: a66e657eReported-By: NNigel Kukard <nkukard+qemu@lbsd.net> Signed-off-by: NIgor Mammedov <imammedo@redhat.com> Reviewed-by: NMichael S. Tsirkin <mst@redhat.com> Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
6e1f0a55