From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] test: Add emulator test for iret instruction Date: Wed, 28 Jul 2010 22:21:32 -0300 Message-ID: <20100729012132.GA3941@amt.cnet> References: <1280309941-13571-1-git-send-email-m.gamal005@gmail.com> <20100728195533.GA29917@amt.cnet> <20100728203218.GA30659@amt.cnet> <20100728205627.GA31469@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm-devel , Avi Kivity To: Mohammed Gamal Return-path: Received: from mx1.redhat.com ([209.132.183.28]:2756 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751194Ab0G2Ctu (ORCPT ); Wed, 28 Jul 2010 22:49:50 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Jul 29, 2010 at 02:18:20AM +0300, Mohammed Gamal wrote: > > =A0Fourth test: > > =A0=A0qemu-system-x86-12850 [001] =A05167.510302: kvm_emulate_insn:= 0:4200: 9c (real) > > =A0=A0qemu-system-x86-12850 [001] =A05167.510304: kvm_emulate_insn:= 0:4201: 58 (real) > > =A0=A0qemu-system-x86-12850 [001] =A05167.510306: kvm_emulate_insn:= 0:4202: > > =A083 e0 fd (real) > > =A0=A0qemu-system-x86-12850 [001] =A05167.510308: kvm_emulate_insn:= 0:4205: > > =A00d 28 80 (real) > > =A0=A0qemu-system-x86-12850 [001] =A05167.510310: kvm_emulate_insn:= 0:4208: 50 (real) > > =A0=A0qemu-system-x86-12850 [001] =A05167.510312: kvm_emulate_insn:= 0:4209: 0e (real) > > =A0=A0qemu-system-x86-12850 [001] =A05167.510313: kvm_emulate_insn:= 0:420a: > > =A0e8 02 00 (real) > > =A0=A0qemu-system-x86-12850 [001] =A05167.510315: kvm_emulate_insn:= 0:420f: cf (real) > > =A0=A0qemu-system-x86-12850 [001] =A05167.510318: kvm_emulate_insn:= 0:420d: > > =A0eb 01 (real) > > >=20 > As an extra note, you need to run realmode.flat with the > emulate_invalid_guest_state=3D1 module option for kvm_intel. If you > don't use that option, the emulator is not going to be invoked. Doh, right.