Lines Matching full:run

78 	struct kvm_run *run = vcpu->run;  in test_read_invalid()  local
82 run->kvm_valid_regs = INVALID_SYNC_FIELD; in test_read_invalid()
87 run->kvm_valid_regs = 0; in test_read_invalid()
89 run->kvm_valid_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in test_read_invalid()
94 run->kvm_valid_regs = 0; in test_read_invalid()
99 struct kvm_run *run = vcpu->run; in test_set_invalid() local
103 run->kvm_dirty_regs = INVALID_SYNC_FIELD; in test_set_invalid()
108 run->kvm_dirty_regs = 0; in test_set_invalid()
110 run->kvm_dirty_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in test_set_invalid()
115 run->kvm_dirty_regs = 0; in test_set_invalid()
120 struct kvm_run *run = vcpu->run; in test_req_and_verify_all_valid_regs() local
126 run->kvm_valid_regs = TEST_SYNC_FIELDS; in test_req_and_verify_all_valid_regs()
130 TEST_ASSERT(run->s390_sieic.icptcode == 4 && in test_req_and_verify_all_valid_regs()
131 (run->s390_sieic.ipa >> 8) == 0x83 && in test_req_and_verify_all_valid_regs()
132 (run->s390_sieic.ipb >> 16) == 0x501, in test_req_and_verify_all_valid_regs()
134 run->s390_sieic.icptcode, run->s390_sieic.ipa, in test_req_and_verify_all_valid_regs()
135 run->s390_sieic.ipb); in test_req_and_verify_all_valid_regs()
138 compare_regs(&regs, &run->s.regs); in test_req_and_verify_all_valid_regs()
141 compare_sregs(&sregs, &run->s.regs); in test_req_and_verify_all_valid_regs()
146 struct kvm_run *run = vcpu->run; in test_set_and_verify_various_reg_values() local
152 run->s.regs.gprs[11] = 0xBAD1DEA; in test_set_and_verify_various_reg_values()
153 run->s.regs.acrs[0] = 1 << 11; in test_set_and_verify_various_reg_values()
155 run->kvm_valid_regs = TEST_SYNC_FIELDS; in test_set_and_verify_various_reg_values()
156 run->kvm_dirty_regs = KVM_SYNC_GPRS | KVM_SYNC_ACRS; in test_set_and_verify_various_reg_values()
159 run->s.regs.diag318 = get_diag318_info(); in test_set_and_verify_various_reg_values()
160 run->kvm_dirty_regs |= KVM_SYNC_DIAG318; in test_set_and_verify_various_reg_values()
166 TEST_ASSERT(run->s.regs.gprs[11] == 0xBAD1DEA + 1, in test_set_and_verify_various_reg_values()
168 run->s.regs.gprs[11]); in test_set_and_verify_various_reg_values()
169 TEST_ASSERT(run->s.regs.acrs[0] == 1 << 11, in test_set_and_verify_various_reg_values()
171 run->s.regs.acrs[0]); in test_set_and_verify_various_reg_values()
172 TEST_ASSERT(run->s.regs.diag318 == get_diag318_info(), in test_set_and_verify_various_reg_values()
174 run->s.regs.diag318); in test_set_and_verify_various_reg_values()
177 compare_regs(&regs, &run->s.regs); in test_set_and_verify_various_reg_values()
180 compare_sregs(&sregs, &run->s.regs); in test_set_and_verify_various_reg_values()
185 struct kvm_run *run = vcpu->run; in test_clear_kvm_dirty_regs_bits() local
191 run->kvm_valid_regs = TEST_SYNC_FIELDS; in test_clear_kvm_dirty_regs_bits()
192 run->kvm_dirty_regs = 0; in test_clear_kvm_dirty_regs_bits()
193 run->s.regs.gprs[11] = 0xDEADBEEF; in test_clear_kvm_dirty_regs_bits()
194 run->s.regs.diag318 = 0x4B1D; in test_clear_kvm_dirty_regs_bits()
198 TEST_ASSERT(run->s.regs.gprs[11] != 0xDEADBEEF, in test_clear_kvm_dirty_regs_bits()
200 run->s.regs.gprs[11]); in test_clear_kvm_dirty_regs_bits()
201 TEST_ASSERT(run->s.regs.diag318 != 0x4B1D, in test_clear_kvm_dirty_regs_bits()
203 run->s.regs.diag318); in test_clear_kvm_dirty_regs_bits()