hw/ppc/spapr_pci.c: Avoid functions not in glib 2.12 (g_hash_table_iter_*)
commitf8833a37c0c6b22ddd57b45e48cfb0f97dbd5af4
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 22 Oct 2014 17:41:07 +0000 (22 18:41 +0100)
committerAlexander Graf <agraf@suse.de>
Tue, 4 Nov 2014 22:26:13 +0000 (4 23:26 +0100)
treee9a65af207d285ef096839e15dfc218c7f7cc35b
parentc47493f24fd4f16cffc1130d071b783f4453b7a3
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>
hw/ppc/spapr_pci.c