Re: [PATCH 2/5] KVM: s390: Add support for machine checks.

2012-12-19 Thread Heiko Carstens
On Wed, Dec 19, 2012 at 11:20:18AM +0100, Christian Borntraeger wrote: > On 19/12/12 10:44, Heiko Carstens wrote: > > On Fri, Dec 07, 2012 at 01:30:22PM +0100, Cornelia Huck wrote: > >> + rc = put_guest_u64(vcpu, __LC_MCCK_CODE, inti->mchk.mcic); > >> + if (rc == -EFAULT) > >> +

Re: [PATCH 2/5] KVM: s390: Add support for machine checks.

2012-12-19 Thread Christian Borntraeger
On 19/12/12 10:44, Heiko Carstens wrote: > On Fri, Dec 07, 2012 at 01:30:22PM +0100, Cornelia Huck wrote: >> +rc = put_guest_u64(vcpu, __LC_MCCK_CODE, inti->mchk.mcic); >> +if (rc == -EFAULT) >> +exception = 1; >> + >> +rc = copy_to_guest(vcpu

Re: [PATCH 2/5] KVM: s390: Add support for machine checks.

2012-12-19 Thread Heiko Carstens
On Fri, Dec 07, 2012 at 01:30:22PM +0100, Cornelia Huck wrote: > + rc = put_guest_u64(vcpu, __LC_MCCK_CODE, inti->mchk.mcic); > + if (rc == -EFAULT) > + exception = 1; > + > + rc = copy_to_guest(vcpu, __LC_MCK_OLD_PSW, > +

Re: [PATCH 2/5] KVM: s390: Add support for machine checks.

2012-12-10 Thread Cornelia Huck
On Mon, 10 Dec 2012 08:51:11 +0100 Alexander Graf wrote: > > On 07.12.2012, at 13:30, Cornelia Huck wrote: > > > Add support for injecting machine checks (only repressible > > conditions for now). > > > > This is a bit more involved than I/O interrupts, for these reasons: > > > > - Machine ch

Re: [PATCH 2/5] KVM: s390: Add support for machine checks.

2012-12-10 Thread Alexander Graf
On 07.12.2012, at 13:30, Cornelia Huck wrote: > Add support for injecting machine checks (only repressible > conditions for now). > > This is a bit more involved than I/O interrupts, for these reasons: > > - Machine checks come in both floating and cpu varieties. > - We don't have a bit for mac

[PATCH 2/5] KVM: s390: Add support for machine checks.

2012-12-07 Thread Cornelia Huck
Add support for injecting machine checks (only repressible conditions for now). This is a bit more involved than I/O interrupts, for these reasons: - Machine checks come in both floating and cpu varieties. - We don't have a bit for machine checks enabling, but have to use a roundabout approach

[PATCH 2/5] KVM: s390: Add support for machine checks.

2012-10-31 Thread Cornelia Huck
Add support for injecting machine checks (only repressible conditions for now). This is a bit more involved than I/O interrupts, for these reasons: - Machine checks come in both floating and cpu varieties. - We don't have a bit for machine checks enabling, but have to use a roundabout approach