From: Keir Fraser Subject: Re: [PATCH][VT] Clear the pending interrupt on shared page when PIC initialized Date: Tue, 13 Sep 2005 09:50:44 +0100 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Jiang, Yunhong" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 13 Sep 2005, at 03:40, Jiang, Yunhong wrote: > 1) I think the cpu_reset_interrupt() is a common API on qemu for > hardware interrupt/exception etc,while clear the shared page is just > for > hardware interrupt. Of course, this function is currently used just for > hardware interrupt since qemu works as a device model :) But change > here > may cause following code on cpu_reset_interrupt(). > if ( mask == CPU_INTERRUPT_HARD) > ......clear the shared page... Hmm... okay, I see your point here. This would be a bit ugly. I think placing your patch under pic_reset() is a better plan. -- Keir