aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/s390x/processor.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-02-15 13:26:01 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-11 11:46:35 -0400
commit1079c3d4e452a12f71f9ed076a37e5689f365153 (patch)
tree77ea55c0acdfd92c768b1c7003a20eb3c2628d17 /tools/testing/selftests/kvm/lib/s390x/processor.c
parentKVM: selftests: Rename xAPIC state test's vcpu struct (diff)
downloadlinux-dev-1079c3d4e452a12f71f9ed076a37e5689f365153.tar.xz
linux-dev-1079c3d4e452a12f71f9ed076a37e5689f365153.zip
KVM: selftests: Rename vcpu.state => vcpu.run
Rename the "state" field of 'struct vcpu' to "run". KVM calls it "run", the struct name is "kvm_run", etc... Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/s390x/processor.c')
-rw-r--r--tools/testing/selftests/kvm/lib/s390x/processor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/kvm/lib/s390x/processor.c b/tools/testing/selftests/kvm/lib/s390x/processor.c
index 53c413932f64..df9d9650d916 100644
--- a/tools/testing/selftests/kvm/lib/s390x/processor.c
+++ b/tools/testing/selftests/kvm/lib/s390x/processor.c
@@ -210,7 +210,7 @@ void vcpu_dump(FILE *stream, struct kvm_vm *vm, uint32_t vcpuid, uint8_t indent)
struct vcpu *vcpu = vcpu_get(vm, vcpuid);
fprintf(stream, "%*spstate: psw: 0x%.16llx:0x%.16llx\n",
- indent, "", vcpu->state->psw_mask, vcpu->state->psw_addr);
+ indent, "", vcpu->run->psw_mask, vcpu->run->psw_addr);
}
void assert_on_unhandled_exception(struct kvm_vm *vm, uint32_t vcpuid)