From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neo Jia Subject: Re: emulation failed but !mmio_needed? rip 10000 fc 0f 01 15 Date: Sun, 25 Nov 2007 15:30:24 -0800 Message-ID: <474A0590.4050701@gmail.com> References: <5d649bdb0711231523r5221466cx6ee17979d27ddbc0@mail.gmail.com> <4747DA35.6010001@qumranet.com> <5d649bdb0711240145g683f7762h35638e88586202a9@mail.gmail.com> <47494402.9020602@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Avi Kivity Return-path: In-Reply-To: <47494402.9020602-atKUWr5tajBWk0Htik3J/w@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 Avi Kivity wrote: > Neo Jia wrote: >> On Nov 24, 2007 12:00 AM, Avi Kivity wrote: >> >>> Neo Jia wrote: >>> >>>> The version of kvm I used for kvm module is >>>> "694401697ccd822bb08019731c3ee1bb34323d8e" and the kvm-userspace is >>>> "a57b838b49bc4e4e7439b18d0323385d53e41c7f". >>>> >>>> >>> These are very recent versions, but the nature of the problem leads me >>> to expect you are using the host's kvm modules. Can you verify? >>> >> >> Yes. Just verified that I ran the modules from kernel "2.6.23.1-49.fc8". >> >> But according to Sheng's comments, I also don't see the "cld" >> instruction in the latest version. >> >> Why does kvm not crash? >> >> > > With the reset fix, kvm never sees the cld instruction. It executes > the jmp instruction at f000:fff0 and continues processing ROM code. > Do we need to add a "default" in x86 emulator switch statement? Thanks, Neo ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/