Home
last modified time | relevance | path

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

/openbmc/qemu/target/loongarch/kvm/
H A Dkvm.c255 ret |= kvm_set_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_CRMD), in kvm_loongarch_put_csr()
258 ret |= kvm_set_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_PRMD), in kvm_loongarch_put_csr()
261 ret |= kvm_set_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_EUEN), in kvm_loongarch_put_csr()
264 ret |= kvm_set_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_MISC), in kvm_loongarch_put_csr()
267 ret |= kvm_set_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_ECFG), in kvm_loongarch_put_csr()
273 ret |= kvm_set_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_ERA), in kvm_loongarch_put_csr()
276 ret |= kvm_set_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_BADV), in kvm_loongarch_put_csr()
306 ret |= kvm_set_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_PGD), in kvm_loongarch_put_csr()
360 ret |= kvm_set_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_TID), in kvm_loongarch_put_csr()
580 ret = kvm_set_one_reg(cs, KVM_IOC_CPUCFG(i), &val); in kvm_loongarch_put_cpucfg()
[all …]
/openbmc/qemu/target/arm/
H A Dkvm.c944 ret = kvm_set_one_reg(cs, regidx, &v32); in write_list_to_kvmstate()
947 ret = kvm_set_one_reg(cs, regidx, cpu->cpreg_values + i); in write_list_to_kvmstate()
1858 return kvm_set_one_reg(CPU(cpu), KVM_REG_ARM64_SVE_VLS, &vls[0]); in kvm_arm_sve_set_vls()
2020 ret = kvm_set_one_reg(cs, KVM_REG_ARM64_SVE_ZREG(n, 0), r); in kvm_arch_put_sve()
2029 ret = kvm_set_one_reg(cs, KVM_REG_ARM64_SVE_PREG(n, 0), r); in kvm_arch_put_sve()
2037 ret = kvm_set_one_reg(cs, KVM_REG_ARM64_SVE_FFR(0), r); in kvm_arch_put_sve()
2063 ret = kvm_set_one_reg(cs, AARCH64_CORE_REG(regs.regs[i]), in kvm_arch_put_registers()
2080 ret = kvm_set_one_reg(cs, AARCH64_CORE_REG(sp_el1), &env->sp_el[1]); in kvm_arch_put_registers()
2091 ret = kvm_set_one_reg(cs, AARCH64_CORE_REG(regs.pstate), &val); in kvm_arch_put_registers()
2096 ret = kvm_set_one_reg(cs, AARCH64_CORE_REG(regs.pc), &env->pc); in kvm_arch_put_registers()
[all …]
/openbmc/qemu/target/riscv/kvm/
H A Dkvm-cpu.c159 int ret = kvm_set_one_reg(cs, RISCV_TIMER_REG(name), &reg); \
253 ret = kvm_set_one_reg(cs, id, &reg); in kvm_riscv_update_cpu_misa_ext()
436 ret = kvm_set_one_reg(cs, id, &reg); in kvm_riscv_update_cpu_cfg_isa_ext()
584 ret = kvm_set_one_reg(cs, RISCV_CORE_REG(env, regs.pc), &reg); in kvm_riscv_put_regs_core()
592 ret = kvm_set_one_reg(cs, id, &reg); in kvm_riscv_put_regs_core()
678 ret = kvm_set_one_reg(cs, RISCV_FP_D_REG(i), &reg); in kvm_riscv_put_regs_fp()
690 ret = kvm_set_one_reg(cs, RISCV_FP_F_REG(i), &reg); in kvm_riscv_put_regs_fp()
1330 ret = kvm_set_one_reg(cs, id, &reg); in kvm_vcpu_set_machine_ids()
1336 ret = kvm_set_one_reg(cs, id, &cpu->cfg.marchid); in kvm_vcpu_set_machine_ids()
1342 ret = kvm_set_one_reg(cs, id, &cpu->cfg.mimpid); in kvm_vcpu_set_machine_ids()
[all …]
/openbmc/qemu/target/ppc/
H A Dkvm.c988 kvm_set_one_reg(cs, KVM_REG_PPC_TM_CR, &env->tm_cr); in kvm_arch_put_registers()
989 kvm_set_one_reg(cs, KVM_REG_PPC_TM_LR, &env->tm_lr); in kvm_arch_put_registers()
990 kvm_set_one_reg(cs, KVM_REG_PPC_TM_CTR, &env->tm_ctr); in kvm_arch_put_registers()
992 kvm_set_one_reg(cs, KVM_REG_PPC_TM_AMR, &env->tm_amr); in kvm_arch_put_registers()
993 kvm_set_one_reg(cs, KVM_REG_PPC_TM_PPR, &env->tm_ppr); in kvm_arch_put_registers()
995 kvm_set_one_reg(cs, KVM_REG_PPC_TM_VSCR, &env->tm_vscr); in kvm_arch_put_registers()
996 kvm_set_one_reg(cs, KVM_REG_PPC_TM_DSCR, &env->tm_dscr); in kvm_arch_put_registers()
997 kvm_set_one_reg(cs, KVM_REG_PPC_TM_TAR, &env->tm_tar); in kvm_arch_put_registers()
2579 kvm_set_one_reg(cs, KVM_REG_PPC_LPCR_64, &lpcr); in kvmppc_enable_cap_large_decr()
2979 kvm_set_one_reg(cs, KVM_REG_PPC_ONLINE, &online); in kvmppc_set_reg_ppc_online()
[all …]
/openbmc/qemu/target/s390x/kvm/
H A Dkvm.c544 kvm_set_one_reg(cs, KVM_REG_S390_CPU_TIMER, &env->cputm); in kvm_arch_put_registers()
545 kvm_set_one_reg(cs, KVM_REG_S390_CLOCK_COMP, &env->ckc); in kvm_arch_put_registers()
546 kvm_set_one_reg(cs, KVM_REG_S390_TODPR, &env->todpr); in kvm_arch_put_registers()
547 kvm_set_one_reg(cs, KVM_REG_S390_GBEA, &env->gbea); in kvm_arch_put_registers()
548 kvm_set_one_reg(cs, KVM_REG_S390_PP, &env->pp); in kvm_arch_put_registers()
563 r = kvm_set_one_reg(cs, KVM_REG_S390_PFTOKEN, &env->pfault_token); in kvm_arch_put_registers()
567 r = kvm_set_one_reg(cs, KVM_REG_S390_PFCOMPARE, &env->pfault_compare); in kvm_arch_put_registers()
571 r = kvm_set_one_reg(cs, KVM_REG_S390_PFSELECT, &env->pfault_select); in kvm_arch_put_registers()
/openbmc/qemu/hw/intc/
H A Dxics_kvm.c125 ret = kvm_set_one_reg(icp->cs, KVM_REG_PPC_ICP_STATE, &state); in icp_set_kvm_state()
H A Dspapr_xive_kvm.c88 ret = kvm_set_one_reg(tctx->cs, KVM_REG_PPC_VP_STATE, state); in kvmppc_xive_cpu_set_state()
/openbmc/qemu/include/sysemu/
H A Dkvm.h547 int kvm_set_one_reg(CPUState *cs, uint64_t id, void *source);
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c3670 int kvm_set_one_reg(CPUState *cs, uint64_t id, void *source) in kvm_set_one_reg() function