commit | 3fc5acdeedfcea7c7d86040fa427ae785920b399 | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Tue Aug 14 13:22:13 2012 +0200 |
committer | Alexander Graf <agraf@suse.de> | Wed Aug 15 19:43:15 2012 +0200 |
tree | 43fb1157dd3f3195aa678d51e59e5bf90eb14ffc | |
parent | 8c57b867b5d18b0d916797dfbac465b8aaa5bf5a [diff] [blame] |
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>
diff --git a/hw/spapr.h b/hw/spapr.h index 9153f29..fe40e7d 100644 --- a/hw/spapr.h +++ b/hw/spapr.h
@@ -23,6 +23,7 @@ int next_irq; int rtc_offset; char *cpu_model; + bool has_graphics; } sPAPREnvironment; #define H_SUCCESS 0