]> git.ipfire.org Git - thirdparty/qemu.git/commit - qemu-options.hx
revamp acpitable parsing and allow to specify complete (headerful) table
authorMichael Tokarev <mjt@tls.msk.ru>
Thu, 12 May 2011 14:44:17 +0000 (18:44 +0400)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 30 Jul 2011 09:33:31 +0000 (09:33 +0000)
commit104bf02eb50e080ac9d0de5905f80f9a09730154
treea73f83e5f9dece6287f4efb3e5de0dc9647bfa0e
parent638737ad0342ba48f3dfbd2ae03a48cc53501b26
revamp acpitable parsing and allow to specify complete (headerful) table

This patch almost rewrites acpi_table_add() function
(but still leaves it using old get_param_value() interface).
The result is that it's now possible to specify whole table
(together with a header) in an external file, instead of just
data portion, with a new file= parameter, but at the same time
it's still possible to specify header fields as before.

Now with the checkpatch.pl formatting fixes, thanks to
Stefan Hajnoczi for suggestions, with changes from
Isaku Yamahata, and with my further refinements.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Cc: Isaku Yamahata <yamahata@valinux.co.jp>
Cc: John Baboval <john.baboval@virtualcomputer.com>
Cc: Blue Swirl <blauwirbel@gmail.com>
[yamahata@valinux.co.jp: fix compile error, comment fallthrough]
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/acpi.c
qemu-options.hx