diff options
author | David Hildenbrand <david@redhat.com> | 2017-08-30 18:06:02 +0200 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2017-08-31 13:49:40 +0200 |
commit | c95c895303ed13e883e0e6386e0b978174329210 (patch) | |
tree | aee87aec0e3c248538616ff7ada5ed47d1b49ec2 /arch/s390 | |
parent | 3dbf0205b18c9db9ee86d886c94e731cc1fa7f09 (diff) | |
download | linux-stable-c95c895303ed13e883e0e6386e0b978174329210.tar.gz linux-stable-c95c895303ed13e883e0e6386e0b978174329210.tar.bz2 linux-stable-c95c895303ed13e883e0e6386e0b978174329210.zip |
KVM: s390: vsie: cleanup mcck reinjection
The machine check information is part of the vsie_page.
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170830160603.5452-4-david@redhat.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kvm/vsie.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/s390/kvm/vsie.c b/arch/s390/kvm/vsie.c index d471910bd9ea..fbe46dd0e55d 100644 --- a/arch/s390/kvm/vsie.c +++ b/arch/s390/kvm/vsie.c @@ -809,8 +809,6 @@ static int do_vsie_run(struct kvm_vcpu *vcpu, struct vsie_page *vsie_page) { struct kvm_s390_sie_block *scb_s = &vsie_page->scb_s; struct kvm_s390_sie_block *scb_o = vsie_page->scb_o; - struct mcck_volatile_info *mcck_info; - struct sie_page *sie_page; int rc; handle_last_fault(vcpu, vsie_page); @@ -834,9 +832,7 @@ static int do_vsie_run(struct kvm_vcpu *vcpu, struct vsie_page *vsie_page) if (rc == -EINTR) { VCPU_EVENT(vcpu, 3, "%s", "machine check"); - sie_page = container_of(scb_s, struct sie_page, sie_block); - mcck_info = &sie_page->mcck_info; - kvm_s390_reinject_machine_check(vcpu, mcck_info); + kvm_s390_reinject_machine_check(vcpu, &vsie_page->mcck_info); return 0; } |