]> www.infradead.org Git - qemu-nvme.git/commit
hw/pci-host/raven: Propagate error in raven_realize()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 20 Nov 2023 12:25:56 +0000 (13:25 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 5 Jan 2024 15:20:15 +0000 (16:20 +0100)
commitcb50fc6842bf95b4e3bc1faa2a56bf7987ea6491
treee9992758c8e30a71c417473f4ef7bf1c4c553e22
parentca1b8762922f4fa859e082898ca567c2cc0269ca
hw/pci-host/raven: Propagate error in raven_realize()

When an Error** reference is available, it is better to
propagate local errors, rather then using generic ones,
which might terminate the whole QEMU process.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Message-Id: <20231120213301.24349-26-philmd@linaro.org>
hw/pci-host/raven.c