summaryrefslogtreecommitdiffstats
path: root/scripts/argparse.py
diff options
context:
space:
mode:
authorEduardo Habkost2017-08-25 21:54:06 +0200
committerMichael S. Tsirkin2017-10-15 04:54:39 +0200
commit8b3d26342c4aa171e759e6392fe3b742759d4963 (patch)
tree115cadb795a96da312d9597651b35fa35dd926fd /scripts/argparse.py
parentMerge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20171012'... (diff)
downloadqemu-8b3d26342c4aa171e759e6392fe3b742759d4963.tar.gz
qemu-8b3d26342c4aa171e759e6392fe3b742759d4963.tar.xz
qemu-8b3d26342c4aa171e759e6392fe3b742759d4963.zip
xio3130_downstream: Report error if pcie_chassis_add_slot() failed
On commit f8cd1b02 ("pci: Convert to realize"), no error_set*() call was added for the pcie_chassis_add_slot() error case. pcie_chassis_add_slot() errors get ignored, making QEMU crash later. e.g.: $ qemu-system-x86_64 -device ioh3420 -device xio3130-downstream qemu-system-x86_64: memory.c:2166: memory_region_del_subregion: Assertion `subregion->container == mr' failed. Aborted (core dumped) Fix it by reporting the error using error_setg(). Fixes: f8cd1b0201c41d88bb97dcafb80348a0e88d8805 Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Marcel Apfelbaum <marcel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/argparse.py')
0 files changed, 0 insertions, 0 deletions