Lines Matching defs:source
84 static struct kvm_vm *setup_vm(void *guest_code, struct kvm_vcpu **source,
95 *source = aarch64_vcpu_add(vm, 0, &init, guest_code);
143 struct kvm_vcpu *source, *target;
148 vm = setup_vm(guest_test_cpu_on, &source, &target);
156 vcpu_args_set(source, 1, target_mpidr & MPIDR_HWID_BITMASK);
157 enter_guest(source);
159 if (get_ucall(source, &uc) != UCALL_DONE)
180 struct kvm_vcpu *source, *target;
184 vm = setup_vm(guest_test_system_suspend, &source, &target);
188 run = source->run;
190 enter_guest(source);
192 TEST_ASSERT_KVM_EXIT_REASON(source, KVM_EXIT_SYSTEM_EVENT);
238 struct kvm_vcpu *source, *target;
245 setup_vm(guest_test_system_off2, &source, &target);
255 run = source->run;
257 enter_guest(source);
273 vcpu_mp_state_set(source, &mps);
275 enter_guest(source);
278 TEST_ASSERT(get_ucall(source, &uc) == UCALL_DONE, "Guest did not exit cleanly");