From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 5/6] Nested VMX patch 5 implements vmlaunch and vmresume Date: Sun, 06 Sep 2009 12:29:58 +0300 Message-ID: <4AA38116.7010404@redhat.com> References: <1251905916-2834-1-git-send-email-oritw@il.ibm.com> <1251905916-2834-2-git-send-email-oritw@il.ibm.com> <1251905916-2834-3-git-send-email-oritw@il.ibm.com> <1251905916-2834-4-git-send-email-oritw@il.ibm.com> <1251905916-2834-5-git-send-email-oritw@il.ibm.com> <1251905916-2834-6-git-send-email-oritw@il.ibm.com> <4A9EE5C8.8040107@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Abel Gordon , aliguori@us.ibm.com, Ben-Ami Yassour1 , kvm@vger.kernel.org, mmday@us.ibm.com, Muli Ben-Yehuda To: Orit Wasserman Return-path: Received: from mx1.redhat.com ([209.132.183.28]:37329 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752517AbZIFJaC (ORCPT ); Sun, 6 Sep 2009 05:30:02 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 09/03/2009 05:53 PM, Orit Wasserman wrote: >> >> Need to auto-ack the interrupt if requested by the guest. >> > The is_interrupt means L1 has interrupts, kvm regular code will handle it. > If the VM-Exit Controls bit 15 (Acknowledge interrupts on exit) is set, when the nested guest exits you need to run kvm_cpu_get_interrupt() and put the vector number in the VM-Exit interruption-information field. kvm doesn't set this bit but I think Xen does. -- error compiling committee.c: too many arguments to function