From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH v2 0/5] KVM: x86: improve reexecute_instruction Date: Fri, 14 Dec 2012 23:05:46 -0200 Message-ID: <20121215010546.GC27536@amt.cnet> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Gleb Natapov , LKML , KVM To: Xiao Guangrong Return-path: Content-Disposition: inline In-Reply-To: <50CAB001.2040106@linux.vnet.ibm.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 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.