From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmtUH-0007sx-0L for qemu-devel@nongnu.org; Thu, 26 Mar 2009 13:35:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmtUB-0007na-1U for qemu-devel@nongnu.org; Thu, 26 Mar 2009 13:35:27 -0400 Received: from [199.232.76.173] (port=60618 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmtUA-0007nX-Un for qemu-devel@nongnu.org; Thu, 26 Mar 2009 13:35:22 -0400 Received: from the2masters.de ([213.146.113.64]:36395 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 1LmtUA-0000Xp-5A for qemu-devel@nongnu.org; Thu, 26 Mar 2009 13:35:22 -0400 Message-ID: <49CBBCD4.3020207@the2masters.de> Date: Thu, 26 Mar 2009 18:35:16 +0100 From: Stefan Hellermann MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] 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@redhat.com, qemu-devel@nongnu.org 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. I tried using SLIC-Data-files downloaded from the web, but I'm unsure if they are formatted correctly. -acpitable data=SLIC.aml or SLIC.bin doesn't throw an error, but the linux-kernel in the virtual machine doesn't detect new acpi-tables. I attached a hexdump from these two files. I read the commit to qemu to add support for -acpitable (SVN 6650), but I don't know enough about qemu/pc-bios/programming to get any clue out of this. Thanks for your time! Your doing great work! $ hexdump -C SLIC.aml 00000000 53 4c 49 43 76 01 00 00 01 0a 48 50 51 4f 45 4d |SLICv.....HPQOEM| 00000010 53 4c 49 43 2d 4d 50 43 00 00 04 06 48 50 51 20 |SLIC-MPC....HPQ | 00000020 01 00 00 00 00 00 00 00 9c 00 00 00 06 02 00 00 |................| 00000030 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 |.$..RSA1........| 00000040 5b ab 60 56 bc 58 1e e8 c1 d2 a1 5c e5 4f bb fd |[.`V.X.....\.O..| 00000050 1d a9 8c 94 b4 ae 08 11 dc 13 59 d3 7f f6 3e 87 |..........Y...>.| 00000060 31 b9 95 74 10 da 3b a4 5b b5 19 82 7c 39 d7 0d |1..t..;.[...|9..| 00000070 7c 22 ac 1c 2a 84 e9 0a 88 6d fa b1 e2 d8 e8 21 ||"..*....m.....!| 00000080 96 e1 2e 68 9a bf 44 45 3e 3c 8e 99 90 de 37 38 |...h..DE><....78| 00000090 57 0b 92 15 bc de ff f2 07 7e b5 40 8c 51 3a c3 |W........~.@.Q:.| 000000a0 02 48 f6 13 12 72 fb 42 78 e6 47 88 54 c7 b0 f0 |.H...r.Bx.G.T...| 000000b0 93 9e fb 04 b7 b8 b8 90 de db ed 32 e1 fb 54 a6 |...........2..T.| 000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000170 00 00 00 00 00 00 |......| $ hexdump -C SLIC.bin 00000000 53 4c 49 43 76 01 00 00 01 47 4c 45 4e 4f 56 4f |SLICv....GLENOVO| 00000010 54 43 2d 32 50 20 20 20 00 00 00 00 20 4c 54 50 |TC-2P .... LTP| 00000020 00 00 00 00 00 00 00 00 9c 00 00 00 06 02 00 00 |................| 00000030 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 |.$..RSA1........| 00000040 69 16 4a 9f b1 4b 3a fb 80 20 aa af c4 f9 3e c1 |i.J..K:.. ....>.| 00000050 80 49 ee 6a 65 26 72 1e cd bf 5f 2f 96 d6 c0 0a |.I.je&r..._/....| 00000060 92 f5 06 b5 00 b2 3b 29 02 e2 4c 8d c2 f2 bc 41 |......;)..L....A| 00000070 77 9c 70 f0 f3 1b 09 d2 63 5a dc a8 83 f8 5e c9 |w.p.....cZ....^.| 00000080 15 95 f9 fa fd dc 05 b7 4d 67 7f 2d b3 84 33 20 |........Mg.-..3 | 00000090 e1 d1 79 2a a7 6a 77 d1 b6 20 2a 76 42 c5 d5 e9 |..y*.jw.. *vB...| 000000a0 b6 43 40 55 44 c3 c9 37 99 5f 41 97 70 f3 d1 f6 |.C@UD..7._A.p...| 000000b0 07 ec 7b 1a 29 a1 c1 f1 91 fd 48 86 6e 3e ce cb |..{.).....H.n>..| 000000c0 01 00 00 00 b6 00 00 00 00 00 02 00 4c 45 4e 4f |............LENO| 000000d0 56 4f 54 43 2d 32 50 20 20 20 57 49 4e 44 4f 57 |VOTC-2P WINDOW| 000000e0 53 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |S ..............| 000000f0 00 00 00 00 00 00 01 9a 77 4b aa 9b 50 7b 29 09 |........wK..P{).| 00000100 bb cd 70 71 1c b3 fd 90 a6 90 e1 af 8b 2a d5 70 |..pq.........*.p| 00000110 0f b1 41 cc 00 ee 58 ec 32 46 35 02 b1 b9 be bb |..A...X.2F5.....| 00000120 ce 71 eb 21 47 f2 a6 af f1 22 77 b9 dc 38 ae c4 |.q.!G...."w..8..| 00000130 aa 97 6f cb ec 70 6f d0 ed f1 42 d4 95 b9 0e f7 |..o..po...B.....| 00000140 67 ac 64 95 09 a6 d8 a0 51 54 3c 41 f4 b9 7e ef |g.d.....QT