From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: [PATCH 13/15] Add NMI injection support to SVM. Date: Sun, 19 Apr 2009 16:40:05 +0300 Message-ID: <20090419134005.GL10126@redhat.com> References: <1239616545-25199-1-git-send-email-gleb@redhat.com> <1239616545-25199-14-git-send-email-gleb@redhat.com> <49E8DEC1.4030802@web.de> <20090419131735.GG10126@redhat.com> <49EB2559.4000704@redhat.com> <20090419132434.GH10126@redhat.com> <49EB26E9.4060002@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jan Kiszka , kvm@vger.kernel.org, joerg.roedel@amd.com, sheng@linux.intel.com, Dmitry Baryshkov To: Avi Kivity Return-path: Received: from mx2.redhat.com ([66.187.237.31]:37512 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757855AbZDSNkL (ORCPT ); Sun, 19 Apr 2009 09:40:11 -0400 Content-Disposition: inline In-Reply-To: <49EB26E9.4060002@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Apr 19, 2009 at 04:28:09PM +0300, Avi Kivity wrote: > Gleb Natapov wrote: >>> There may not be a next entry if the guest is in a tight loop. Given >>> NMIs are used for watchdogs, that's not good. >>> >>> >> We don't exit a guest after kvm time slice ends? >> > > There are no time slices any more. If there's only once thread for a > vcpu, you might have no exits at all with a tickless kernel. > Well, KVM may request some kind of even (timer) that will cause exit to VCPU. This looks hacky though. -- Gleb.