From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 6/6] test: verify that the emulator honours svm intercepts Date: Thu, 29 Jul 2010 11:45:40 +0300 Message-ID: <4C513FB4.5030709@redhat.com> References: <1280334351-6395-1-git-send-email-avi@redhat.com> <1280334351-6395-7-git-send-email-avi@redhat.com> <4C507133.8010403@redhat.com> <20100729074319.GJ26098@amd.com> <4C513267.9020306@redhat.com> <20100729075953.GK26098@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , "kvm@vger.kernel.org" To: "Roedel, Joerg" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:42225 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752083Ab0G2Ipm (ORCPT ); Thu, 29 Jul 2010 04:45:42 -0400 In-Reply-To: <20100729075953.GK26098@amd.com> Sender: kvm-owner@vger.kernel.org List-ID: On 07/29/2010 10:59 AM, Roedel, Joerg wrote: > On Thu, Jul 29, 2010 at 03:48:55AM -0400, Avi Kivity wrote: >> On 07/29/2010 10:43 AM, Roedel, Joerg wrote: >>> Another question, is >>> there any way to run these tests bare-metal to verify them first on real >>> silicon? >> Sure, you can use grub's multiboot capabilities to boot a .flat file. > This requires to objcopy them to a binary format first, no? The > multiboot spec states that the binaries need to be 32 bit elf files > while the .flat files are 64 bit per default. I think I remember that > grub checks for that. Anyway, thats an easy thing to do. They are multiboot files, that's how -kernel manages to load them (it's a multiboot + linux bootloader). -- error compiling committee.c: too many arguments to function