qemu image format parameter
- Dominant language
- Go
- Stars
- 17k
- Forks
- 2.1k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 105
Description
Currently it is not possible to specify the format-parmater.
If you have a raw image:
`image_path = "asdf.img"`
qemu does output the following warning:
```
WARNING: Image format was not specified for 'asdf.img' 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.
```
`image_path = "asdf.img,format=raw"`
does not work because you use the basename of image_path as the maschine name.
Thanks
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the QEMU driver code that parses image_path and uses its basename as the machine name. Trace how image paths are passed to QEMU, then verify that an image format such as raw can be specified without changing the machine name and that the resulting invocation removes the warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- infrastructure
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100