Lines Matching full:run
76 struct kvm_run *run = vcpu->run; in test_read_invalid() local
80 run->kvm_valid_regs = INVALID_SYNC_FIELD; in test_read_invalid()
85 run->kvm_valid_regs = 0; in test_read_invalid()
87 run->kvm_valid_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in test_read_invalid()
92 run->kvm_valid_regs = 0; in test_read_invalid()
97 struct kvm_run *run = vcpu->run; in test_set_invalid() local
101 run->kvm_dirty_regs = INVALID_SYNC_FIELD; in test_set_invalid()
106 run->kvm_dirty_regs = 0; in test_set_invalid()
108 run->kvm_dirty_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in test_set_invalid()
113 run->kvm_dirty_regs = 0; in test_set_invalid()
118 struct kvm_run *run = vcpu->run; in test_req_and_verify_all_valid_regs() local
124 run->kvm_valid_regs = TEST_SYNC_FIELDS; in test_req_and_verify_all_valid_regs()
128 TEST_ASSERT(run->s390_sieic.icptcode == 4 && in test_req_and_verify_all_valid_regs()
129 (run->s390_sieic.ipa >> 8) == 0x83 && in test_req_and_verify_all_valid_regs()
130 (run->s390_sieic.ipb >> 16) == 0x501, in test_req_and_verify_all_valid_regs()
132 run->s390_sieic.icptcode, run->s390_sieic.ipa, in test_req_and_verify_all_valid_regs()
133 run->s390_sieic.ipb); in test_req_and_verify_all_valid_regs()
136 compare_regs(®s, &run->s.regs); in test_req_and_verify_all_valid_regs()
139 compare_sregs(&sregs, &run->s.regs); in test_req_and_verify_all_valid_regs()
144 struct kvm_run *run = vcpu->run; in test_set_and_verify_various_reg_values() local
150 run->s.regs.gprs[11] = 0xBAD1DEA; in test_set_and_verify_various_reg_values()
151 run->s.regs.acrs[0] = 1 << 11; in test_set_and_verify_various_reg_values()
153 run->kvm_valid_regs = TEST_SYNC_FIELDS; in test_set_and_verify_various_reg_values()
154 run->kvm_dirty_regs = KVM_SYNC_GPRS | KVM_SYNC_ACRS; in test_set_and_verify_various_reg_values()
157 run->s.regs.diag318 = get_diag318_info(); in test_set_and_verify_various_reg_values()
158 run->kvm_dirty_regs |= KVM_SYNC_DIAG318; in test_set_and_verify_various_reg_values()
164 TEST_ASSERT(run->s.regs.gprs[11] == 0xBAD1DEA + 1, in test_set_and_verify_various_reg_values()
166 run->s.regs.gprs[11]); in test_set_and_verify_various_reg_values()
167 TEST_ASSERT(run->s.regs.acrs[0] == 1 << 11, in test_set_and_verify_various_reg_values()
169 run->s.regs.acrs[0]); in test_set_and_verify_various_reg_values()
170 TEST_ASSERT(run->s.regs.diag318 == get_diag318_info(), in test_set_and_verify_various_reg_values()
172 run->s.regs.diag318); in test_set_and_verify_various_reg_values()
175 compare_regs(®s, &run->s.regs); in test_set_and_verify_various_reg_values()
178 compare_sregs(&sregs, &run->s.regs); in test_set_and_verify_various_reg_values()
183 struct kvm_run *run = vcpu->run; in test_clear_kvm_dirty_regs_bits() local
189 run->kvm_valid_regs = TEST_SYNC_FIELDS; in test_clear_kvm_dirty_regs_bits()
190 run->kvm_dirty_regs = 0; in test_clear_kvm_dirty_regs_bits()
191 run->s.regs.gprs[11] = 0xDEADBEEF; in test_clear_kvm_dirty_regs_bits()
192 run->s.regs.diag318 = 0x4B1D; in test_clear_kvm_dirty_regs_bits()
196 TEST_ASSERT(run->s.regs.gprs[11] != 0xDEADBEEF, in test_clear_kvm_dirty_regs_bits()
198 run->s.regs.gprs[11]); in test_clear_kvm_dirty_regs_bits()
199 TEST_ASSERT(run->s.regs.diag318 != 0x4B1D, in test_clear_kvm_dirty_regs_bits()
201 run->s.regs.diag318); in test_clear_kvm_dirty_regs_bits()