Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356895
b: refs/heads/master
c: 15bc8d8
h: refs/heads/master
i:
  356893: 8973c4d
  356891: 24ddb83
  356887: a8f6229
  356879: a44c9b0
  356863: f7883c3
v: v3
  • Loading branch information
Christian Borntraeger authored and Gleb Natapov committed Jan 30, 2013
1 parent e7da892 commit da63925
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c45c528e899094b9049b3c900e2cf1f00aa0490c
refs/heads/master: 15bc8d8457875f495c59d933b05770ba88d1eacb
8 changes: 8 additions & 0 deletions trunk/arch/s390/kvm/kvm-s390.c
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,14 @@ int kvm_s390_vcpu_store_status(struct kvm_vcpu *vcpu, unsigned long addr)
} else
prefix = 0;

/*
* The guest FPRS and ACRS are in the host FPRS/ACRS due to the lazy
* copying in vcpu load/put. Lets update our copies before we save
* it into the save area
*/
save_fp_regs(&vcpu->arch.guest_fpregs);
save_access_regs(vcpu->run->s.regs.acrs);

if (__guestcopy(vcpu, addr + offsetof(struct save_area, fp_regs),
vcpu->arch.guest_fpregs.fprs, 128, prefix))
return -EFAULT;
Expand Down

0 comments on commit da63925

Please sign in to comment.