xemu/hw/acpi
Markus Armbruster c3bdc56c18 acpi: Simplify printing to dynamic string
build_append_namestringv() and aml_string() first calculate the
resulting string's length with vsnprintf(NULL, ...), then allocate,
then print for real.  Simply use g_strdup_vprintf() or g_vasprintf()
instead.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
2015-05-31 20:24:07 +02:00
..
acpi_interface.c acpi: introduce TYPE_ACPI_DEVICE_IF interface 2014-06-19 18:44:22 +03:00
aml-build.c acpi: Simplify printing to dynamic string 2015-05-31 20:24:07 +02:00
bios-linker-loader.c bios linker: validate pointer within table 2015-02-26 12:42:15 +01:00
core.c acpi: accurate overflow check 2014-11-13 16:13:28 +01:00
cpu_hotplug.c acpi/cpu-hotplug: introduce helper function to keep bit setting in one place 2014-11-02 13:44:12 +02:00
ich9.c acpi, mem-hotplug: add unplug cb for memory device 2015-04-27 21:07:39 +02:00
Makefile.objs ACPI: split CONFIG_ACPI into 4 pieces 2015-05-29 11:28:59 +01:00
memory_hotplug.c qmp-event: add event notification for memory hot unplug error 2015-04-27 21:09:07 +02:00
pcihp.c range: remove useless inclusions 2015-04-30 16:05:48 +03:00
piix4.c acpi, mem-hotplug: add unplug cb for memory device 2015-04-27 21:07:39 +02:00