Skip to content

Commit

Permalink
Update virtio-blk documentation
Browse files Browse the repository at this point in the history
Updates the virtio-blk documentation to specify the new `format`
arugment.

Signed-off-by: Jake Correnti <[email protected]>
  • Loading branch information
jakecorrenti committed Dec 18, 2024
1 parent b92000b commit 9e1ffbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,15 @@ as a virtual machine's data disk (`/dev/vdb`).
#### Arguments

- `path`: Path to the disk image file.
- `format`: Format of the disk image. Supported formats: raw, qcow2.

#### Example

This adds a virtio-blk device to a virtual machine which will be backed by a raw image at
`/Users/user/disk-image.raw`:

```
--device virtio-blk,path=/Users/user/disk-image.raw
--device virtio-blk,path=/Users/user/disk-image.raw,format=raw
```

### Networking
Expand Down

0 comments on commit 9e1ffbb

Please sign in to comment.