Lines Matching refs:VCPU_ID
16 #define VCPU_ID 3 macro
19 struct kvm_s390_irq buf[VCPU_ID + LOCAL_IRQS];
68 vcpu_get_reg(vm, VCPU_ID, ®); in test_one_reg()
79 irqs = _vcpu_ioctl(vm, VCPU_ID, KVM_S390_GET_IRQ_STATE, &irq_state); in assert_noirq()
95 vcpu_regs_get(vm, VCPU_ID, ®s); in assert_clear()
98 vcpu_sregs_get(vm, VCPU_ID, &sregs); in assert_clear()
101 vcpu_fpu_get(vm, VCPU_ID, &fpu); in assert_clear()
136 vcpu_sregs_get(vm, VCPU_ID, &sregs); in assert_initial()
162 vcpu_fpu_get(vm, VCPU_ID, &fpu); in assert_initial()
207 vm = vm_create_default(VCPU_ID, 0, guest_code_initial); in test_normal()
208 run = vcpu_state(vm, VCPU_ID); in test_normal()
211 vcpu_run(vm, VCPU_ID); in test_normal()
213 inject_irq(VCPU_ID); in test_normal()
215 vcpu_ioctl(vm, VCPU_ID, KVM_S390_NORMAL_RESET, 0); in test_normal()
229 vm = vm_create_default(VCPU_ID, 0, guest_code_initial); in test_initial()
230 run = vcpu_state(vm, VCPU_ID); in test_initial()
233 vcpu_run(vm, VCPU_ID); in test_initial()
235 inject_irq(VCPU_ID); in test_initial()
237 vcpu_ioctl(vm, VCPU_ID, KVM_S390_INITIAL_RESET, 0); in test_initial()
251 vm = vm_create_default(VCPU_ID, 0, guest_code_initial); in test_clear()
252 run = vcpu_state(vm, VCPU_ID); in test_clear()
255 vcpu_run(vm, VCPU_ID); in test_clear()
257 inject_irq(VCPU_ID); in test_clear()
259 vcpu_ioctl(vm, VCPU_ID, KVM_S390_CLEAR_RESET, 0); in test_clear()