]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/loongarch/virt: Replace destination error with error_abort
authorBibo Mao <maobibo@loongson.cn>
Mon, 24 Mar 2025 03:01:45 +0000 (11:01 +0800)
committerSong Gao <gaosong@loongson.cn>
Tue, 8 Apr 2025 06:44:53 +0000 (14:44 +0800)
commitfa0dde12db045ddc84f69b1aa0a4c98d176c903d
tree31d349c43e77c93477cb5c28518f40b03d375ff9
parent988ad4ccebb625a47a73977bfac291341a951c6e
hw/loongarch/virt: Replace destination error with error_abort

In function virt_cpu_plug() and virt_cpu_unplug(), the error is
impossile. Destination error is not propagated and replaced with
error_abort. With this, the logic is simple.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Acked-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20250324030145.3037408-3-maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
hw/loongarch/virt.c