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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to