summaryrefslogtreecommitdiffstats
path: root/hw/display/vhost-user-gpu-pci.c
diff options
context:
space:
mode:
authorThomas Huth2022-11-09 13:22:10 +0100
committerDaniel Henrique Barboza2022-11-10 22:22:10 +0100
commitec5651340d445f009db1c2dc507da8cb4df85ad0 (patch)
tree624a6dd20d6486c95f979c07b20fcfc861d0731a /hw/display/vhost-user-gpu-pci.c
parentMerge tag 'pull-tcg-20221109' of https://gitlab.com/rth7680/qemu into staging (diff)
downloadqemu-ec5651340d445f009db1c2dc507da8cb4df85ad0.tar.gz
qemu-ec5651340d445f009db1c2dc507da8cb4df85ad0.tar.xz
qemu-ec5651340d445f009db1c2dc507da8cb4df85ad0.zip
hw/pci-host/pnv_phb: Avoid quitting QEMU if hotplug of pnv-phb-root-port fails
Currently QEMU terminates if you try to hotplug pnv-phb-root-port in an environment where it is not supported, e.g. if doing this: echo "device_add pnv-phb-root-port" | \ ./qemu-system-ppc64 -monitor stdio -M powernv9 To avoid this problem, the pnv_phb_root_port_realize() function should not use error_fatal when trying to set the properties which might not be available. Fixes: c2f3f78af5 ("ppc/pnv: set root port chassis and slot using Bus properties") Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Message-Id: <20221109122210.115667-1-thuth@redhat.com> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'hw/display/vhost-user-gpu-pci.c')
0 files changed, 0 insertions, 0 deletions