From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWdh6-00028W-7h for qemu-devel@nongnu.org; Mon, 09 Feb 2009 16:29:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWdh2-00027B-9d for qemu-devel@nongnu.org; Mon, 09 Feb 2009 16:29:31 -0500 Received: from [199.232.76.173] (port=38206 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWdh1-000276-Vo for qemu-devel@nongnu.org; Mon, 09 Feb 2009 16:29:28 -0500 Received: from an-out-0708.google.com ([209.85.132.251]:6755) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LWdh0-0006GQ-R3 for qemu-devel@nongnu.org; Mon, 09 Feb 2009 16:29:27 -0500 Received: by an-out-0708.google.com with SMTP id b6so1090945ana.37 for ; Mon, 09 Feb 2009 13:29:20 -0800 (PST) Message-ID: <4990A014.1040202@codemonkey.ws> Date: Mon, 09 Feb 2009 15:28:52 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [Bochs-developers] [PATCH] Read additional ACPI tables from a VM References: <20090209143017.GG28969@redhat.com> <336692845B5F4E10A22861C218D4EEBF@FSCPC> <20090209210027.GA13234@redhat.com> In-Reply-To: <20090209210027.GA13234@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: bochs-developers@lists.sourceforge.net, Sebastian Herbszt Gleb Natapov wrote: >>> + >>> +static int acpi_load_table(int i, uint32_t addr, uint16_t *len) >>> +{ >>> + qemu_cfg_read((uint8_t*)len, sizeof(*len)); >>> + >>> + if (!*len) >>> + return -1; >>> + >>> + qemu_cfg_read((uint8_t*)addr, *len); >>> + return 0; >>> +} >>> #endif >>> >>> void init_smp_msrs(void) >>> >> Can you please diff against bochs cvs? >> >> > Will do. This patch was initially intended to go to qemu patch series so I > did it against patched bios source. I'm happy to update to a more recent BIOS snapshot... > And unpatched bochs bios does not > boot linux with qemu. IRQ routing problem or something. > Unless upstream Bochs has regressed. Did you apply the other patches in the QEMU series? Some are no longer needed I think. Regards, Anthony Liguori > -- > Gleb. > > >