From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH]Fix the bug of guest os installationfailure and win2k boot failure Date: Tue, 18 Mar 2008 16:32:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" 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: "Xu, Dongxiao" , "Cui, Dexuan" , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 18/3/08 10:02, "Keir Fraser" wrote: >> In your last sentence, do you mean that we still >> need to do an entire I/O permission check (including CPL, IOPL, and TSS I/O >> bitmap) in x86_emulate() for safety consideration? Thanks! :-) > > Yes. Like I said: the CPL-IOPL check is very cheap, the TSS bitmap check is a > little more expensive but probably relatively rare. And in any case the I/O > port access latency is largely dominated by the VMEXIT/VMENTRY times. Also the > devices we emulate are mostly managed by mmio. I'll cook up a patch for this myself, by the way. -- Keir