Lines Matching refs:vcpu

74 void test_read_invalid(struct kvm_vcpu *vcpu)  in test_read_invalid()  argument
76 struct kvm_run *run = vcpu->run; in test_read_invalid()
81 rv = _vcpu_run(vcpu); in test_read_invalid()
88 rv = _vcpu_run(vcpu); in test_read_invalid()
95 void test_set_invalid(struct kvm_vcpu *vcpu) in test_set_invalid() argument
97 struct kvm_run *run = vcpu->run; in test_set_invalid()
102 rv = _vcpu_run(vcpu); in test_set_invalid()
109 rv = _vcpu_run(vcpu); in test_set_invalid()
116 void test_req_and_verify_all_valid_regs(struct kvm_vcpu *vcpu) in test_req_and_verify_all_valid_regs() argument
118 struct kvm_run *run = vcpu->run; in test_req_and_verify_all_valid_regs()
125 rv = _vcpu_run(vcpu); in test_req_and_verify_all_valid_regs()
127 TEST_ASSERT_KVM_EXIT_REASON(vcpu, KVM_EXIT_S390_SIEIC); in test_req_and_verify_all_valid_regs()
135 vcpu_regs_get(vcpu, &regs); in test_req_and_verify_all_valid_regs()
138 vcpu_sregs_get(vcpu, &sregs); in test_req_and_verify_all_valid_regs()
142 void test_set_and_verify_various_reg_values(struct kvm_vcpu *vcpu) in test_set_and_verify_various_reg_values() argument
144 struct kvm_run *run = vcpu->run; in test_set_and_verify_various_reg_values()
161 rv = _vcpu_run(vcpu); in test_set_and_verify_various_reg_values()
163 TEST_ASSERT_KVM_EXIT_REASON(vcpu, KVM_EXIT_S390_SIEIC); in test_set_and_verify_various_reg_values()
174 vcpu_regs_get(vcpu, &regs); in test_set_and_verify_various_reg_values()
177 vcpu_sregs_get(vcpu, &sregs); in test_set_and_verify_various_reg_values()
181 void test_clear_kvm_dirty_regs_bits(struct kvm_vcpu *vcpu) in test_clear_kvm_dirty_regs_bits() argument
183 struct kvm_run *run = vcpu->run; in test_clear_kvm_dirty_regs_bits()
193 rv = _vcpu_run(vcpu); in test_clear_kvm_dirty_regs_bits()
195 TEST_ASSERT_KVM_EXIT_REASON(vcpu, KVM_EXIT_S390_SIEIC); in test_clear_kvm_dirty_regs_bits()
206 void (*test)(struct kvm_vcpu *vcpu);
217 struct kvm_vcpu *vcpu; in main() local
228 vm = vm_create_with_one_vcpu(&vcpu, guest_code); in main()
231 testlist[idx].test(vcpu); in main()