From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Roedel, Joerg" Subject: Re: [PATCH 6/6] test: verify that the emulator honours svm intercepts Date: Thu, 29 Jul 2010 09:59:54 +0200 Message-ID: <20100729075953.GK26098@amd.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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Marcelo Tosatti , "kvm@vger.kernel.org" To: Avi Kivity Return-path: Received: from va3ehsobe001.messaging.microsoft.com ([216.32.180.11]:20601 "EHLO VA3EHSOBE001.bigfish.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750791Ab0G2H5U (ORCPT ); Thu, 29 Jul 2010 03:57:20 -0400 Content-Disposition: inline In-Reply-To: <4C513267.9020306@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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. > Most tests use testdev for the serial port and for the memory size. We > can switch the serial port to a real serial device (or to screen display > via int 10), and query the memory size from the BIOS. Yeah, that would be really helpful. Joerg -- Joerg Roedel - AMD Operating System Research Center Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach General Managers: Alberto Bozzo, Andrew Bowd Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632