From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWmxI-0005dk-Jl for qemu-devel@nongnu.org; Tue, 10 Feb 2009 02:22:52 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWmxG-0005ba-T9 for qemu-devel@nongnu.org; Tue, 10 Feb 2009 02:22:52 -0500 Received: from [199.232.76.173] (port=38373 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWmxG-0005bA-Km for qemu-devel@nongnu.org; Tue, 10 Feb 2009 02:22:50 -0500 Received: from mx2.redhat.com ([66.187.237.31]:48201) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LWmxG-0004sd-7A for qemu-devel@nongnu.org; Tue, 10 Feb 2009 02:22:50 -0500 Date: Tue, 10 Feb 2009 09:20:06 +0200 From: Gleb Natapov Subject: Re: [Qemu-devel] Re: [Bochs-developers] [PATCH] Read additional ACPI tables from a VM Message-ID: <20090210072006.GB13234@redhat.com> References: <20090209143017.GG28969@redhat.com> <336692845B5F4E10A22861C218D4EEBF@FSCPC> <20090209210027.GA13234@redhat.com> <4990A014.1040202@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4990A014.1040202@codemonkey.ws> 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 On Mon, Feb 09, 2009 at 03:28:52PM -0600, Anthony Liguori wrote: > 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. > With all qemu patches IRQ problem goes away. (One qemu patch conflicts with the last bochs commit so I reverted it before applying qemu series). -- Gleb.