summaryrefslogtreecommitdiff
path: root/hw/spapr.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-08-14 13:22:13 +0200
committerAlexander Graf <agraf@suse.de>2012-08-15 19:43:15 +0200
commit3fc5acdeedfcea7c7d86040fa427ae785920b399 (patch)
tree43fb1157dd3f3195aa678d51e59e5bf90eb14ffc /hw/spapr.h
parent8c57b867b5d18b0d916797dfbac465b8aaa5bf5a (diff)
downloadqemu-3fc5acdeedfcea7c7d86040fa427ae785920b399.tar.gz
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>
Diffstat (limited to 'hw/spapr.h')
-rw-r--r--hw/spapr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/spapr.h b/hw/spapr.h
index 9153f29a60..fe40e7d005 100644
--- a/hw/spapr.h
+++ b/hw/spapr.h
@@ -23,6 +23,7 @@ typedef struct sPAPREnvironment {
int next_irq;
int rtc_offset;
char *cpu_model;
+ bool has_graphics;
} sPAPREnvironment;
#define H_SUCCESS 0