Commit bdda90b
committed
run: explicitly specify
Not specifying a disk image file format leads to QEMU issuing a warning
and write-protecting block 0. This is seldom desirable:
```
WARNING: Image format was not specified for '/path/to/file' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
```
To squelch the warning, specify `format=raw` explicitly. This will be
made configurable in the next commit.
Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name>format=raw for disk images1 parent a433454 commit bdda90b
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1585 | 1585 | | |
1586 | 1586 | | |
1587 | 1587 | | |
| 1588 | + | |
1588 | 1589 | | |
1589 | 1590 | | |
1590 | 1591 | | |
| |||
1616 | 1617 | | |
1617 | 1618 | | |
1618 | 1619 | | |
| 1620 | + | |
1619 | 1621 | | |
1620 | 1622 | | |
1621 | 1623 | | |
| |||
0 commit comments