From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Huth Subject: Re: [kvm-unit-tests PATCH v2 2/2] s390x: pgm interrupt handler and a way to test them Date: Wed, 31 May 2017 15:25:15 +0200 Message-ID: <42c411d8-12eb-a770-23f7-8ff5a6c96185@redhat.com> References: <20170531123925.4547-1-david@redhat.com> <20170531123925.4547-3-david@redhat.com> <086518bc-36df-44a2-b505-008ced697d88@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , Christian Borntraeger To: Paolo Bonzini , David Hildenbrand , kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:59016 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750916AbdEaNZX (ORCPT ); Wed, 31 May 2017 09:25:23 -0400 In-Reply-To: <086518bc-36df-44a2-b505-008ced697d88@redhat.com> Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: On 31.05.2017 14:51, Paolo Bonzini wrote: > > > On 31/05/2017 14:39, David Hildenbrand wrote: >> + expect_pgm_int(); >> + *((unsigned int*)-1) = 1; >> + check_pgm_int_code(PGM_INT_CODE_ADDRESSING); > > QEMU gets > > ABORT: selftest: Unexpected program interrupt: 5 at 0x12b4c, ilen 4 > > It seems that QEMU doesn't point the PSW at the next instruction David mentioned it in the cover letter ... you likely need this patch here first: http://patchwork.ozlabs.org/patch/768173/ Thomas