diff options
author | Xianglai Li <lixianglai@loongson.cn> | 2025-02-12 09:56:19 +0800 |
---|---|---|
committer | Bibo Mao <maobibo@loongson.cn> | 2025-02-25 16:04:22 +0800 |
commit | b61b9d891305abf8fe37f07280ca5a99a10da6cf (patch) | |
tree | 114440f38ccc9ea693cfa81829bfe70d5c0fbd92 /rust/qemu-api/src | |
parent | b69801dd6b1eb4d107f7c2f643adf0a4e3ec9124 (diff) | |
download | qemu-b61b9d891305abf8fe37f07280ca5a99a10da6cf.zip qemu-b61b9d891305abf8fe37f07280ca5a99a10da6cf.tar.gz qemu-b61b9d891305abf8fe37f07280ca5a99a10da6cf.tar.bz2 |
target/loongarch: fix vcpu reset command word issue
When the KVM_REG_LOONGARCH_VCPU_RESET command word
is sent to the kernel through the kvm_set_one_reg interface,
the parameter source needs to be a legal address,
otherwise the kernel will return an error and the command word
will fail to be sent.
Signed-off-by: Xianglai Li <lixianglai@loongson.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions