From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Loh15-00084p-MO for qemu-devel@nongnu.org; Tue, 31 Mar 2009 12:40:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Loh11-0007yq-Ni for qemu-devel@nongnu.org; Tue, 31 Mar 2009 12:40:47 -0400 Received: from [199.232.76.173] (port=47151 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Loh11-0007ya-Fh for qemu-devel@nongnu.org; Tue, 31 Mar 2009 12:40:43 -0400 Received: from the2masters.de ([213.146.113.64]:34364 helo=smtp.the2masters.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Loh10-0001Yc-W8 for qemu-devel@nongnu.org; Tue, 31 Mar 2009 12:40:43 -0400 Message-ID: <49D24784.8030505@the2masters.de> Date: Tue, 31 Mar 2009 18:40:36 +0200 From: Stefan Hellermann MIME-Version: 1.0 References: <49CBBCD4.3020207@the2masters.de> <20090327073600.GA31195@redhat.com> <49D0E6E6.4000302@the2masters.de> <20090330163718.GJ25718@redhat.com> In-Reply-To: <20090330163718.GJ25718@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: How to use -acpitable to add a SLIC-table? Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gleb Natapov Cc: qemu-devel@nongnu.org Gleb Natapov schrieb: > On Mon, Mar 30, 2009 at 05:36:06PM +0200, Stefan Hellermann wrote: > >> Gleb Natapov schrieb: >> >>> On Thu, Mar 26, 2009 at 06:35:16PM +0100, Stefan Hellermann wrote: >>> >>> >>>> Hello, >>>> >>>> how can I use the -acpitable parameter to add a SLIC-table to the >>>> qemu-bios dynamically? >>>> >>>> I think I need a file with the SLIC-data, but how can I extract this >>>> data out of my BIOS from my host-machine for example? >>>> >>>> The -acpitable parameter accepts a bunch of settings and a datafile, do >>>> I need to set all these settings? I think most of them should sit in the >>>> SLIC-file. >>>> >>>> >>>> >>> -acpitable parameter settings are field from common ACPI table header. >>> If you skip any of them default will be used. Table data that goes after >>> headers should be specified after data=. >>> >>> >>> >>>> I tried using SLIC-Data-files downloaded from the web, but I'm unsure if >>>> they are formatted correctly. >>>> >>>> >>> It looks like they already contain ACPI header. >>> >>> >> Okay, I did some new tries. On my own (real-)machine I did >> # acpidump -o acpidata >> # acpixtract -l dump | grep SLIC >> Signature Length OemId OemTableId OemRevision CompilerId >> CompilerRevision >> SLIC 374 "LENOVO" "TP-7O " 00002210 " LTP" 00000000 >> # acpixtract -sSLIC acpidata >> # qemu-system-x86_64 -acpitable >> sig=SLIC,rev=1,oem_id=LENOVO,oem_table_id=TP-70\ \ \ >> ,oem_rev=00002210,asl_compiler_id=\ >> LTP,asl_compiler_rev=00000000,data=SLIC.dat >> >> > > Are you sure your BIOS is up to date? > I thought the latest kvm-userspace snapshot should contain a reasonable good snapshot of qemu, but I was wrong. Somehow kvm managed it to break the support for -acpitable. I checked out the latest qemu trunk and now -acpitable works great. Thanks! But qemu is slow, with -enable-kvm it's also slow .... I think I will try out kqemu. Thanks for you patience! I should have checked if plain qemu works ... Stefan > -- > Gleb. > >