]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/ppc/spapr_pci.c: Avoid functions not in glib 2.12 (g_hash_table_iter_*)
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 22 Oct 2014 17:41:07 +0000 (18:41 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 7 Jan 2015 20:18:31 +0000 (14:18 -0600)
commitcfa86bcb7de0342b2d8c5ac590c4b36bcece263c
tree64687110cedff8c41f6575d10f97da51d8185037
parentb57b7ec340c128df59337822043b878b6f08cc4a
hw/ppc/spapr_pci.c: Avoid functions not in glib 2.12 (g_hash_table_iter_*)

The g_hash_table_iter_* functions for iterating through a hash table
are not present in glib 2.12, which is our current minimum requirement.
Rewrite the code to use g_hash_table_foreach() instead.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
(cherry picked from commit f8833a37c0c6b22ddd57b45e48cfb0f97dbd5af4)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/ppc/spapr_pci.c