mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
target/loongarch: Fix qtest test-hmp error when KVM-only build
The cc->sysemu_ops->get_phys_page_debug() is NULL when KVM-only build. this patch fixes it. Signed-off-by: Song Gao <gaosong@loongson.cn> Tested-by: Bibo Mao <maobibo@loongson.cn> Message-Id: <20240125061401.52526-1-gaosong@loongson.cn>
This commit is contained in:
parent
bd2e12310b
commit
27edd5040c
5 changed files with 250 additions and 234 deletions
|
@ -752,9 +752,7 @@ static const TCGCPUOps loongarch_tcg_ops = {
|
|||
#include "hw/core/sysemu-cpu-ops.h"
|
||||
|
||||
static const struct SysemuCPUOps loongarch_sysemu_ops = {
|
||||
#ifdef CONFIG_TCG
|
||||
.get_phys_page_debug = loongarch_cpu_get_phys_page_debug,
|
||||
#endif
|
||||
};
|
||||
|
||||
static int64_t loongarch_cpu_get_arch_id(CPUState *cs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue