|
@@ -121,7 +121,7 @@ static int __diag_virtio_hypercall(struct kvm_vcpu *vcpu)
|
|
|
* - gpr 4 contains the index on the bus (optionally)
|
|
|
*/
|
|
|
ret = kvm_io_bus_write_cookie(vcpu->kvm, KVM_VIRTIO_CCW_NOTIFY_BUS,
|
|
|
- vcpu->run->s.regs.gprs[2],
|
|
|
+ vcpu->run->s.regs.gprs[2] & 0xffffffff,
|
|
|
8, &vcpu->run->s.regs.gprs[3],
|
|
|
vcpu->run->s.regs.gprs[4]);
|
|
|
|