From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] x86 emulator: Add decode entries for 0x05 opcode Date: Mon, 20 Oct 2008 10:47:07 +0200 Message-ID: <48FC458B.3010005@redhat.com> References: <20081020085217.68bb3f72@frecb000711> <48FC3170.60904@redhat.com> <20081020104236.009e3900@frecb000711> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm To: Guillaume Thouvenin Return-path: Received: from mx2.redhat.com ([66.187.237.31]:35888 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751011AbYJTIrd (ORCPT ); Mon, 20 Oct 2008 04:47:33 -0400 In-Reply-To: <20081020104236.009e3900@frecb000711> Sender: kvm-owner@vger.kernel.org List-ID: Guillaume Thouvenin wrote: > 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 > > For 64-bit tests you need the bootstrap code: ./user/kvmctl ./user/test/x86/bootstrap ./user/test/x86/emulator.flat but emulator.c is only able to test instructions that access memory. For add acc, imm you need realmode.c. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.