Re: [GIT PULL 1/6] KVM: s390: Handle MVPG partial execution interception

2014-04-30 Thread Heiko Carstens
On Tue, Apr 29, 2014 at 03:36:43PM +0200, Christian Borntraeger wrote: +static int handle_mvpg_pei(struct kvm_vcpu *vcpu) +{ + unsigned long hostaddr, srcaddr, dstaddr; + psw_t *psw = vcpu-arch.sie_block-gpsw; + struct mm_struct *mm = current-mm; + int reg1, reg2, rc; + +

Re: [GIT PULL 1/6] KVM: s390: Handle MVPG partial execution interception

2014-04-30 Thread Thomas Huth
On Wed, 30 Apr 2014 10:07:09 +0200 Heiko Carstens heiko.carst...@de.ibm.com wrote: On Tue, Apr 29, 2014 at 03:36:43PM +0200, Christian Borntraeger wrote: +static int handle_mvpg_pei(struct kvm_vcpu *vcpu) +{ + unsigned long hostaddr, srcaddr, dstaddr; + psw_t *psw =

Re: [GIT PULL 1/6] KVM: s390: Handle MVPG partial execution interception

2014-04-30 Thread Christian Borntraeger
On 30/04/14 10:07, Heiko Carstens wrote: On Tue, Apr 29, 2014 at 03:36:43PM +0200, Christian Borntraeger wrote: +static int handle_mvpg_pei(struct kvm_vcpu *vcpu) +{ +unsigned long hostaddr, srcaddr, dstaddr; +psw_t *psw = vcpu-arch.sie_block-gpsw; +struct mm_struct *mm =

[GIT PULL 1/6] KVM: s390: Handle MVPG partial execution interception

2014-04-29 Thread Christian Borntraeger
From: Thomas Huth th...@linux.vnet.ibm.com When the guest executes the MVPG instruction with DAT disabled, and the source or destination page is not mapped in the host, the so-called partial execution interception occurs. We need to handle this event by setting up a mapping for the corresponding