/openbmc/qemu/target/loongarch/kvm/ |
H A D | kvm.c | 85 ret |= kvm_get_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_CRMD), in kvm_loongarch_get_csr() 88 ret |= kvm_get_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_PRMD), in kvm_loongarch_get_csr() 91 ret |= kvm_get_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_EUEN), in kvm_loongarch_get_csr() 94 ret |= kvm_get_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_MISC), in kvm_loongarch_get_csr() 97 ret |= kvm_get_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_ECFG), in kvm_loongarch_get_csr() 103 ret |= kvm_get_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_ERA), in kvm_loongarch_get_csr() 106 ret |= kvm_get_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_BADV), in kvm_loongarch_get_csr() 109 ret |= kvm_get_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_BADI), in kvm_loongarch_get_csr() 136 ret |= kvm_get_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_PGD), in kvm_loongarch_get_csr() 526 ret = kvm_get_one_reg(cs, KVM_IOC_CPUCFG(i), &val); in kvm_loongarch_get_cpucfg() [all …]
|
/openbmc/qemu/target/arm/ |
H A D | kvm.c | 908 ret = kvm_get_one_reg(cs, regidx, &v32); in write_kvmstate_to_list() 1187 if (!kvm_get_one_reg(cs, ARM64_REG_ESR_EL1, &dfsr_val)) { in kvm_arm_verify_ext_dabt_pending() 1195 if (!kvm_get_one_reg(cs, ARM64_REG_TCR_EL1, &ttbcr)) { in kvm_arm_verify_ext_dabt_pending() 1927 if (!kvm_get_one_reg(cs, KVM_REG_ARM_PSCI_VERSION, &psciver)) { in kvm_arch_init_vcpu() 2203 ret = kvm_get_one_reg(cs, KVM_REG_ARM64_SVE_ZREG(n, 0), r); in kvm_arch_get_sve() 2212 ret = kvm_get_one_reg(cs, KVM_REG_ARM64_SVE_PREG(n, 0), r); in kvm_arch_get_sve() 2220 ret = kvm_get_one_reg(cs, KVM_REG_ARM64_SVE_FFR(0), r); in kvm_arch_get_sve() 2240 ret = kvm_get_one_reg(cs, AARCH64_CORE_REG(regs.regs[i]), in kvm_arch_get_registers() 2257 ret = kvm_get_one_reg(cs, AARCH64_CORE_REG(regs.pstate), &val); in kvm_arch_get_registers() 2274 ret = kvm_get_one_reg(cs, AARCH64_CORE_REG(regs.pc), &env->pc); in kvm_arch_get_registers() [all …]
|
/openbmc/qemu/target/riscv/kvm/ |
H A D | kvm-cpu.c | 135 int _ret = kvm_get_one_reg(cs, RISCV_CSR_REG(env, csr), ®); \ 151 int ret = kvm_get_one_reg(cs, RISCV_TIMER_REG(name), ®); \ 558 ret = kvm_get_one_reg(cs, RISCV_CORE_REG(env, regs.pc), ®); in kvm_riscv_get_regs_core() 566 ret = kvm_get_one_reg(cs, id, ®); in kvm_riscv_get_regs_core() 644 ret = kvm_get_one_reg(cs, RISCV_FP_D_REG(i), ®); in kvm_riscv_get_regs_fp() 656 ret = kvm_get_one_reg(cs, RISCV_FP_F_REG(i), ®); in kvm_riscv_get_regs_fp() 775 ret = kvm_get_one_reg(cs, RISCV_VECTOR_CSR_REG(env, vstart), ®); in kvm_riscv_get_regs_vector() 781 ret = kvm_get_one_reg(cs, RISCV_VECTOR_CSR_REG(env, vl), ®); in kvm_riscv_get_regs_vector() 787 ret = kvm_get_one_reg(cs, RISCV_VECTOR_CSR_REG(env, vtype), ®); in kvm_riscv_get_regs_vector() 794 ret = kvm_get_one_reg(cs, RISCV_VECTOR_CSR_REG(env, vlenb), ®); in kvm_riscv_get_regs_vector() [all …]
|
/openbmc/qemu/target/ppc/ |
H A D | kvm.c | 518 kvm_get_one_reg(cs, KVM_REG_PPC_DEBUG_INST, &debug_inst_opcode); in kvm_arch_init_vcpu() 1288 kvm_get_one_reg(cs, KVM_REG_PPC_TM_CR, &env->tm_cr); in kvm_arch_get_registers() 1289 kvm_get_one_reg(cs, KVM_REG_PPC_TM_LR, &env->tm_lr); in kvm_arch_get_registers() 1290 kvm_get_one_reg(cs, KVM_REG_PPC_TM_CTR, &env->tm_ctr); in kvm_arch_get_registers() 1292 kvm_get_one_reg(cs, KVM_REG_PPC_TM_AMR, &env->tm_amr); in kvm_arch_get_registers() 1293 kvm_get_one_reg(cs, KVM_REG_PPC_TM_PPR, &env->tm_ppr); in kvm_arch_get_registers() 1295 kvm_get_one_reg(cs, KVM_REG_PPC_TM_VSCR, &env->tm_vscr); in kvm_arch_get_registers() 1296 kvm_get_one_reg(cs, KVM_REG_PPC_TM_DSCR, &env->tm_dscr); in kvm_arch_get_registers() 1297 kvm_get_one_reg(cs, KVM_REG_PPC_TM_TAR, &env->tm_tar); in kvm_arch_get_registers() 2571 kvm_get_one_reg(cs, KVM_REG_PPC_LPCR_64, &lpcr); in kvmppc_enable_cap_large_decr() [all …]
|
/openbmc/qemu/target/s390x/kvm/ |
H A D | kvm.c | 655 kvm_get_one_reg(cs, KVM_REG_S390_CPU_TIMER, &env->cputm); in kvm_arch_get_registers() 656 kvm_get_one_reg(cs, KVM_REG_S390_CLOCK_COMP, &env->ckc); in kvm_arch_get_registers() 657 kvm_get_one_reg(cs, KVM_REG_S390_TODPR, &env->todpr); in kvm_arch_get_registers() 658 kvm_get_one_reg(cs, KVM_REG_S390_GBEA, &env->gbea); in kvm_arch_get_registers() 659 kvm_get_one_reg(cs, KVM_REG_S390_PP, &env->pp); in kvm_arch_get_registers() 685 r = kvm_get_one_reg(cs, KVM_REG_S390_PFTOKEN, &env->pfault_token); in kvm_arch_get_registers() 689 r = kvm_get_one_reg(cs, KVM_REG_S390_PFCOMPARE, &env->pfault_compare); in kvm_arch_get_registers() 693 r = kvm_get_one_reg(cs, KVM_REG_S390_PFSELECT, &env->pfault_select); in kvm_arch_get_registers()
|
/openbmc/qemu/hw/intc/ |
H A D | xics_kvm.c | 80 ret = kvm_get_one_reg(icp->cs, KVM_REG_PPC_ICP_STATE, &state); in icp_get_kvm_state()
|
H A D | spapr_xive_kvm.c | 107 ret = kvm_get_one_reg(tctx->cs, KVM_REG_PPC_VP_STATE, state); in kvmppc_xive_cpu_get_state()
|
/openbmc/qemu/include/sysemu/ |
H A D | kvm.h | 557 int kvm_get_one_reg(CPUState *cs, uint64_t id, void *target);
|
/openbmc/qemu/accel/kvm/ |
H A D | kvm-all.c | 3684 int kvm_get_one_reg(CPUState *cs, uint64_t id, void *target) in kvm_get_one_reg() function
|