From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Huth Subject: Re: [kvm-unit-tests PATCH] s390x: Interception tests Date: Mon, 29 May 2017 15:13:51 +0200 Message-ID: References: <1496052394-20389-1-git-send-email-thuth@redhat.com> <5665e7b2-27ed-59eb-a293-fa4ab262414d@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: Christian Borntraeger , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= To: Paolo Bonzini , David Hildenbrand , kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:55144 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750947AbdE2NN5 (ORCPT ); Mon, 29 May 2017 09:13:57 -0400 In-Reply-To: <5665e7b2-27ed-59eb-a293-fa4ab262414d@redhat.com> Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: On 29.05.2017 13:01, Paolo Bonzini wrote: > > On 29/05/2017 12:06, Thomas Huth wrote: >> Certain CPU instructions will cause an exit of the virtual >> machine. Run some of these instructions to check whether >> they are emulated right by KVM (or QEMU). >> >> Signed-off-by: Thomas Huth >> --- >> Note: This is the initial framework for running interception tests >> ... more test will be added later (like testing exceptions once >> we've got the infrastructure for this in place). > > Since you are at it, would it make sense to add some timing > infrastructure and get something like vmexit.flat in the x86 tests? You mean something to run the test for a certain amount of time or a certain amount of iterations? Sure, yes, I can add that. > Also, the change to unittests.cfg is missing. Yes, missed that ... will add it... Thomas