From: Guillaume Thouvenin Subject: Re: [PATCH] x86 emulator: Add decode entries for 0x05 opcode Date: Mon, 20 Oct 2008 10:42:36 +0200 Message-ID: <20081020104236.009e3900@frecb000711> References: <20081020085217.68bb3f72@frecb000711> <48FC3170.60904@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: kvm To: Avi Kivity Return-path: Received: from ecfrec.frec.bull.fr ([129.183.4.8]:37219 "EHLO ecfrec.frec.bull.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750763AbYJTIoG (ORCPT ); Mon, 20 Oct 2008 04:44:06 -0400 In-Reply-To: <48FC3170.60904@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, 20 Oct 2008 09:21:20 +0200 Avi Kivity wrote: > Guillaume Thouvenin wrote: > > Add decode entries for 0x05 (ADD) opcode, execution is already > > implemented. > > > > > > Please send a unit test entry. I added an "add imm" test case in user/test/x86/emulator.c but kvmctl doesn't start the test. I use the following command: # ./user/kvmctl ./user/test/x86/emulator.flat It seems that file emulator.flat is loaded in kvm machine. In the main procedure kvm_run() is called but after nothing happens. There is no message in dmesg. It happens with the last kvm-userspace tree. I observe the same behaviour with simple.flat but it works with realmode.flat. I tried to run simple.flat in protected mode but it didn't change anything. Any clues? Regards, Guillaume