From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH] deal with interrupt shadow state for emulated instruction Date: Tue, 14 Apr 2009 09:07:48 -0700 Message-ID: <49E4B4D4.1020903@zytor.com> References: <1239653210-10422-1-git-send-email-glommer@redhat.com> <49E45894.7090700@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Glauber Costa , kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: Avi Kivity Return-path: Received: from terminus.zytor.com ([198.137.202.10]:51964 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752504AbZDNQIE (ORCPT ); Tue, 14 Apr 2009 12:08:04 -0400 In-Reply-To: <49E45894.7090700@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Avi Kivity wrote: > > The comment about repeating 'mov ss' in the manual has that wonderful > word in it, May. That means we're perfectly allowed to ignore it and > just set the flag unconditionally. > Realistically, though, this should only be done for a limited number of sequential instructions. > I doubt we'll ever see a repeated 'mov ss', once is more than enough. True enough, except maliciously. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.