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 <thuth@xxxxxxxxxx> >> --- >> 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