diff options
| author | liguang.zhang <liguang.zhang@hexintek.com> | 2023-09-13 17:13:21 +0800 |
|---|---|---|
| committer | Alistair Francis <alistair.francis@wdc.com> | 2023-10-12 11:52:43 +1000 |
| commit | 8633951530cc923f1e7a6cd250f670f24c0ed817 (patch) | |
| tree | c56be809a7ea5717503a839bb2fe8d774fed5ba5 /scripts/python_qmp_updater.py | |
| parent | 67f94b09ac4f64d4a0595d1224ba3a425e565043 (diff) | |
| download | focaccia-qemu-8633951530cc923f1e7a6cd250f670f24c0ed817.tar.gz focaccia-qemu-8633951530cc923f1e7a6cd250f670f24c0ed817.zip | |
target/riscv: Clear CSR values at reset and sync MPSTATE with host
This patch fixes guest reboot errors when using KVM. There are two issues when rebooting a guest using KVM 1. When the guest initiates a reboot the host is unable to stop the vcpu 2. When running a SMP guest the qemu monitor system_reset causes a vcpu crash This can be fixed by clearing the CSR values at reset and syncing the MPSTATE with the host. Signed-off-by: liguang.zhang <liguang.zhang@hexintek.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-ID: <20230913091332.17355-1-18622748025@163.com> [ Changes by AF - Fixup commit message - Fixup patch style ] Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'scripts/python_qmp_updater.py')
0 files changed, 0 insertions, 0 deletions