PPC: spapr: Remove global variable
authorAlexander Graf <agraf@suse.de>
Tue, 14 Aug 2012 11:22:13 +0000 (13:22 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 15 Aug 2012 17:43:15 +0000 (19:43 +0200)
commit3fc5acdeedfcea7c7d86040fa427ae785920b399
tree43fb1157dd3f3195aa678d51e59e5bf90eb14ffc
parent8c57b867b5d18b0d916797dfbac465b8aaa5bf5a
PPC: spapr: Remove global variable

Global variables are bad. Let's move spapr_has_graphics into the
machine state struct.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/spapr.c
hw/spapr.h