qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Allow additions of ACPI tables from command lin


From: Gleb Natapov
Subject: Re: [Qemu-devel] [PATCH] Allow additions of ACPI tables from command line
Date: Thu, 12 Feb 2009 18:37:10 +0200

On Thu, Feb 12, 2009 at 05:53:24PM +0200, Blue Swirl wrote:
> On 2/12/09, Gleb Natapov <address@hidden> wrote:
> > This is needed to dynamically add SLIC tables with Windows
> >  activation keys.
> 
> >  +--- a/bios/rombios32.c
> >  ++++ b/bios/rombios32.c
> >  +@@ -455,6 +455,8 @@ unsigned long bios_table_end_addr;
> >  + #define QEMU_CFG_SIGNATURE  0x00
> >  + #define QEMU_CFG_ID         0x01
> >  + #define QEMU_CFG_UUID       0x02
> >  ++#define FW_CFG_ARCH_LOCAL     0x8000
> >  ++#define FW_CFG_ACPI_TABLES  (FW_CFG_ARCH_LOCAL + 0)
> 
> Why don't you just copy the file hw/fw_cfg.h as is? It's designed to
> be included even from assembler files.
> 
Bochs is another project. We can copy the file once but than we will have to
sync it each time it changes in qemu anyway.

--
                        Gleb.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]