From: David Hildenbrand Subject: [kvm-unit-tests PATCH v1 1/2] s390x: use instruction 0x0000 to test for operation exceptions Date: Mon, 26 Jun 2017 18:15:08 +0200 Message-ID: <20170626161509.18873-2-david@redhat.com> References: <20170626161509.18873-1-david@redhat.com> Cc: Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , Thomas Huth , david@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:51476 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752225AbdFZQPR (ORCPT ); Mon, 26 Jun 2017 12:15:17 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1C4C63B70C for ; Mon, 26 Jun 2017 16:15:17 +0000 (UTC) In-Reply-To: <20170626161509.18873-1-david@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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(); -- 2.9.4