Skip to content

Commit 7b96874

Browse files
nanjjstgraber
authored andcommitted
doc/instance_options: Updates raw.qemu.conf example
Signed-off-by: JUN JIE NAN <[email protected]>
1 parent a63c3a8 commit 7b96874

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

doc/reference/instance_options.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -299,16 +299,17 @@ value = "1"
299299
[global]
300300
driver = "ICH9-LPC"
301301
property = "disable_s4"
302-
value = "1"
302+
value = "0"
303303
```
304304

305-
To specify which section to override, specify an index.
306-
For example:
305+
The first `global` section disabled S3(Suspend to RAM), the second `global`
306+
section enabled S4(suspend to disk). In order to disable S4, the second `global`
307+
section index needs to be specified:
307308

308309
```
309310
raw.qemu.conf: |-
310311
[global][1]
311-
value = "0"
312+
value = "1"
312313
```
313314

314315
Section indexes start at 0 (which is the default value when not specified), so the above example would generate the following configuration:
@@ -322,7 +323,7 @@ value = "1"
322323
[global]
323324
driver = "ICH9-LPC"
324325
property = "disable_s4"
325-
value = "0"
326+
value = "1"
326327
```
327328

328329
### Override QEMU runtime objects

0 commit comments

Comments
 (0)