From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: [PATCH v4 2/2] KVM: VMX: Add Posted Interrupt supporting Date: Mon, 25 Feb 2013 21:01:02 +0200 Message-ID: <20130225190102.GL21422@redhat.com> References: <20130225110159.GA12299@redhat.com> <20130225110702.GA12726@redhat.com> <20130225133419.GH21422@redhat.com> <20130225174327.GJ21422@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Zhang, Yang Z" , Marcelo Tosatti , "kvm@vger.kernel.org" , "Zhang, Xiantao" To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:36084 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759762Ab3BYUxm (ORCPT ); Mon, 25 Feb 2013 15:53:42 -0500 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Feb 25, 2013 at 08:56:07PM +0200, Avi Kivity wrote: > On Mon, Feb 25, 2013 at 7:43 PM, Gleb Natapov wrote: > > > >> > 3. Do not report KVM_IRQ_LINE_STATUS capability and move RTC to use EOI > >> > notifiers for interrupt reinjection. This requires us to add interface > >> > for reporting EOI to userspace. This is not in the scope of this > >> > patchset. Cons: need to introduce new interface (and the one that will > >> > not work on AMD BTW) > >> > > >> > Other ideas? > >> > >> 1. inject RTC interrupt > >> 2. not see EOI > >> 3. inject RTC interrupt > >> 4. due to 2, report coalesced > >> > > That's the 3 in my list, no? > > > No, this idea doesn't involve user interface changes. We still report > through KVM_IRQ_LINE_STATUS or whatever it's called. Interesting idea! -- Gleb.