diff options
author | Sean Christopherson <seanjc@google.com> | 2022-02-15 13:26:01 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-11 11:46:35 -0400 |
commit | 1079c3d4e452a12f71f9ed076a37e5689f365153 (patch) | |
tree | 77ea55c0acdfd92c768b1c7003a20eb3c2628d17 /tools/testing/selftests/kvm/lib/s390x/processor.c | |
parent | 70ca149be61d9b09cc31c62e9fbe6faea4a79811 (diff) | |
download | lwn-1079c3d4e452a12f71f9ed076a37e5689f365153.tar.gz lwn-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.c | 2 |
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) |