Revision f99ed40a hw/acpi.c
b/hw/acpi.c | ||
---|---|---|
145 | 145 |
s->pmcntrl = val & ~(SUS_EN); |
146 | 146 |
if (val & SUS_EN) { |
147 | 147 |
/* change suspend type */ |
148 |
sus_typ = (val >> 10) & 3;
|
|
148 |
sus_typ = (val >> 10) & 7;
|
|
149 | 149 |
switch(sus_typ) { |
150 | 150 |
case 0: /* soft power off */ |
151 | 151 |
qemu_system_shutdown_request(); |
Also available in: Unified diff