From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: [PATCH v2 0/5] KVM: x86: improve reexecute_instruction Date: Sun, 23 Dec 2012 13:46:36 +0200 Message-ID: <20121223114636.GQ17584@redhat.com> References: <50C5A747.1020105@linux.vnet.ibm.com> <20121211233641.GA14520@amt.cnet> <50C8E3A3.4050106@linux.vnet.ibm.com> <20121213225408.GB11385@amt.cnet> <50CAB001.2040106@linux.vnet.ibm.com> <20121215010546.GC27536@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Xiao Guangrong , LKML , KVM To: Marcelo Tosatti Return-path: Received: from mx1.redhat.com ([209.132.183.28]:22092 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751082Ab2LWLqi (ORCPT ); Sun, 23 Dec 2012 06:46:38 -0500 Content-Disposition: inline In-Reply-To: <20121215010546.GC27536@amt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Dec 14, 2012 at 11:05:46PM -0200, Marcelo Tosatti wrote: > On Fri, Dec 14, 2012 at 12:50:09PM +0800, Xiao Guangrong wrote: > > >>> program a timer interrupt and #GP? > > >> > > >> Could you please explain the detail? > > > > > > Before the instruction which writes continuously to the pagetable, arm > > > say lapic timer. #GP on the interrupt handler and test with failure. > > > > Sorry, I am confused about this. After Qemu exits due to KVM_EXIT_INTERNAL_ERROR, > > the vm is stopped then interrupt can not be injected to guest. Or i missed something? > > Yes, but without fixed kernel kvm-unit test executable loops continuously. > Perhaps its more appropriate to fix generically, nevermind. This will not be the first test that makes kvm-unit-test hang on non fixed kernels. -- Gleb.