Home
last modified time | relevance | path

Searched refs:kvm_get_one_reg (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/target/loongarch/kvm/
H A Dkvm.c85 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 Dkvm.c908 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 Dkvm-cpu.c135 int _ret = kvm_get_one_reg(cs, RISCV_CSR_REG(env, csr), &reg); \
151 int ret = kvm_get_one_reg(cs, RISCV_TIMER_REG(name), &reg); \
558 ret = kvm_get_one_reg(cs, RISCV_CORE_REG(env, regs.pc), &reg); in kvm_riscv_get_regs_core()
566 ret = kvm_get_one_reg(cs, id, &reg); in kvm_riscv_get_regs_core()
644 ret = kvm_get_one_reg(cs, RISCV_FP_D_REG(i), &reg); in kvm_riscv_get_regs_fp()
656 ret = kvm_get_one_reg(cs, RISCV_FP_F_REG(i), &reg); in kvm_riscv_get_regs_fp()
775 ret = kvm_get_one_reg(cs, RISCV_VECTOR_CSR_REG(env, vstart), &reg); in kvm_riscv_get_regs_vector()
781 ret = kvm_get_one_reg(cs, RISCV_VECTOR_CSR_REG(env, vl), &reg); in kvm_riscv_get_regs_vector()
787 ret = kvm_get_one_reg(cs, RISCV_VECTOR_CSR_REG(env, vtype), &reg); in kvm_riscv_get_regs_vector()
794 ret = kvm_get_one_reg(cs, RISCV_VECTOR_CSR_REG(env, vlenb), &reg); in kvm_riscv_get_regs_vector()
[all …]
/openbmc/qemu/target/ppc/
H A Dkvm.c518 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 Dkvm.c655 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 Dxics_kvm.c80 ret = kvm_get_one_reg(icp->cs, KVM_REG_PPC_ICP_STATE, &state); in icp_get_kvm_state()
H A Dspapr_xive_kvm.c107 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 Dkvm.h557 int kvm_get_one_reg(CPUState *cs, uint64_t id, void *target);
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c3684 int kvm_get_one_reg(CPUState *cs, uint64_t id, void *target) in kvm_get_one_reg() function