qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: How to use -acpitable to add a SLIC-table?


From: Gleb Natapov
Subject: [Qemu-devel] Re: How to use -acpitable to add a SLIC-table?
Date: Fri, 27 Mar 2009 10:36:00 +0300

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.

> -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.
How do you know they are not detected. Can you send acpidump output?

> 
> 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 
> |address@hidden:.|
> 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 
> |address@hidden|
> 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<A..~.|
> 00000150  88 98 bc 9c f6 4e cf 96  23 44 35 4d 83 04 4c f2 
> |.....N..#D5M..L.|
> 00000160  83 6f 61 b0 b6 b0 d5 a8  b9 af 41 4e 25 42 e1 9a 
> |.oa.......AN%B..|
> 00000170  79 82 31 00 88 18                                 |y.1...|
> 
> 

--
                        Gleb.




reply via email to

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