From: Thomas Huth Subject: Re: [kvm-unit-tests PATCH v1 1/2] s390x: use instruction 0x0000 to test for operation exceptions Date: Tue, 27 Jun 2017 04:50:46 +0200 Message-ID: References: <20170626161509.18873-1-david@redhat.com> <20170626161509.18873-2-david@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Paolo Bonzini , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= To: David Hildenbrand , kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:59908 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751491AbdF0Cu5 (ORCPT ); Mon, 26 Jun 2017 22:50:57 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DB4E4F5CE for ; Tue, 27 Jun 2017 02:50:56 +0000 (UTC) In-Reply-To: <20170626161509.18873-2-david@redhat.com> Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: On 26.06.2017 18:15, David Hildenbrand wrote: > QEMU uses 0x0000 for KVM, not 0x0001. Doesn't really matter (both are > invalid), but now it matches the comment. > > Signed-off-by: David Hildenbrand > --- > s390x/selftest.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/s390x/selftest.c b/s390x/selftest.c > index ca94158..87eb934 100644 > --- a/s390x/selftest.c > +++ b/s390x/selftest.c > @@ -29,7 +29,7 @@ static void test_fp(void) > static void test_pgm_int(void) > { > expect_pgm_int(); > - asm volatile(" .insn e,0x0001"); /* used for SW breakpoints in QEMU */ > + asm volatile(" .insn e,0x0000"); /* used for SW breakpoints in QEMU */ > check_pgm_int_code(PGM_INT_CODE_OPERATION); > > expect_pgm_int(); > Reviewed-by: Thomas Huth