diff options
author | Laszlo Ersek <lersek@redhat.com> | 2013-03-21 00:23:17 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-04-04 19:23:08 -0500 |
commit | 0c764a9dfc0d480c21f325480aa2e69581841858 (patch) | |
tree | eaed2d79b7c9b91481eccb6d1d15d739a7101924 /hw/pc.h | |
parent | 8ccbad5c7b61c46c1b69b8089b8965cd69c0a8de (diff) |
acpi_table_add(): accept QemuOpts and parse it with OptsVisitor
As one consequence, strtok() -- which modifies its argument -- is replaced
with g_strsplit().
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Message-id: 1363821803-3380-6-git-send-email-lersek@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pc.h')
-rw-r--r-- | hw/pc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -113,7 +113,7 @@ extern char unsigned *acpi_tables; extern size_t acpi_tables_len; void acpi_bios_init(void); -int acpi_table_add(const char *table_desc); +int acpi_table_add(const QemuOpts *opts); /* acpi_piix.c */ |