int kvm_arch_init_vcpu(CPUState *cenv)

{

    int ret = 0;

    struct kvm_sregs sregs;



    sregs.pvr = cenv->spr[SPR_PVR];

    ret = kvm_vcpu_ioctl(cenv, KVM_SET_SREGS, &sregs);



    idle_timer = qemu_new_timer_ns(vm_clock, kvm_kick_env, cenv);



    return ret;

}

int kvm_arch_init_vcpu(CPUState *cenv)

{

    int ret = 0;

    struct kvm_sregs sregs;



    sregs.pvr = cenv->spr[SPR_PVR];

    ret = kvm_vcpu_ioctl(cenv, KVM_SET_SREGS, &sregs);



    idle_timer = qemu_new_timer_ns(vm_clock, kvm_kick_env, cenv);



    return ret;

}

int kvm_arch_init_vcpu(CPUState *cenv)     int ret = 0;     ret = kvm_vcpu_ioctl(cenv, KVM_SET_SREGS, &sregs);
int FUNC_0(CPUState *VAR_0)

{

    int VAR_1 = 0;

    struct kvm_sregs VAR_2;



    VAR_2.pvr = VAR_0->spr[SPR_PVR];

    VAR_1 = kvm_vcpu_ioctl(VAR_0, KVM_SET_SREGS, &VAR_2);



    idle_timer = qemu_new_timer_ns(vm_clock, kvm_kick_env, VAR_0);



    return VAR_1;

}

int FUNC_0(CPUState *VAR_0)
{ int VAR_1 = 0; struct kvm_sregs VAR_2; VAR_2.pvr = VAR_0->spr[SPR_PVR]; VAR_1 = kvm_vcpu_ioctl(VAR_0, KVM_SET_SREGS, &VAR_2); idle_timer = qemu_new_timer_ns(vm_clock, kvm_kick_env, VAR_0); return VAR_1; }