Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106539
b: refs/heads/master
c: 5a00a5e
h: refs/heads/master
i:
  106537: 77fec72
  106535: f32c1bd
v: v3
  • Loading branch information
Christian Borntraeger authored and Avi Kivity committed Jul 27, 2008
1 parent 25f0fc7 commit be7ab80
Show file tree
Hide file tree
Showing 2 changed files with 7 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: f5e10b09a5f8fc40666c95fe0cd6bcc2b8f11437
refs/heads/master: 5a00a5e7a3e013b2323f87c1b69ff9557eae5ec9
6 changes: 6 additions & 0 deletions trunk/arch/s390/kvm/intercept.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ static int handle_lctlg(struct kvm_vcpu *vcpu)
if (base2)
useraddr += vcpu->arch.guest_gprs[base2];

if (useraddr & 7)
return kvm_s390_inject_program_int(vcpu, PGM_SPECIFICATION);

reg = reg1;

VCPU_EVENT(vcpu, 5, "lctlg r1:%x, r3:%x,b2:%x,d2:%x", reg1, reg3, base2,
Expand Down Expand Up @@ -74,6 +77,9 @@ static int handle_lctl(struct kvm_vcpu *vcpu)
if (base2)
useraddr += vcpu->arch.guest_gprs[base2];

if (useraddr & 3)
return kvm_s390_inject_program_int(vcpu, PGM_SPECIFICATION);

VCPU_EVENT(vcpu, 5, "lctl r1:%x, r3:%x,b2:%x,d2:%x", reg1, reg3, base2,
disp2);

Expand Down

0 comments on commit be7ab80

Please sign in to comment.