From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: FW: [kvm-commits] KVM: Move interrupt injection out of interruptdisabled section Date: Fri, 26 Oct 2007 11:13:47 +0200 Message-ID: <4721AFCB.1000502@qumranet.com> References: <10EA09EFD8728347A513008B6B0DA77A023EF364@pdsmsx411.ccr.corp.intel.com> <47162D74.6010408@qumranet.com> <10EA09EFD8728347A513008B6B0DA77A023EF534@pdsmsx411.ccr.corp.intel.com> <47172084.7020608@qumranet.com> <10EA09EFD8728347A513008B6B0DA77A02482B8C@pdsmsx411.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: "Dong, Eddie" Return-path: In-Reply-To: <10EA09EFD8728347A513008B6B0DA77A02482B8C-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Dong, Eddie wrote: > Avi Kivity wrote: > >> [we can try to improve it by using vm86 interrupt redirection >> which may >> allow event injection using VT instead of writing to the guest stack]. >> >> > Avi: > I did an investigation to try to find a way if we can deliver > IRQ to guest real mode using VM_ENTRY_INTR_INFO like what > is did in protect mode with minimal changes. It looks like we can't > do that without a VMXassist similar VM86 monitor in guest. > > Can you explain why a monitor is needed? I thought of using the VME interrupt redirection bitmap, does this approach not work? > I guess this is too big change for us to solve this small > purpose, right? And it looks like we can still survive with current > approach :-) > > Yes, but I rather liked the reduction in code and simplification from eliminating the special case for injecting real mode interrupts. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/