Skip to content

Commit

Permalink
doc: Update configs
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
  • Loading branch information
stgraber committed Jun 27, 2024
1 parent e3c3235 commit da547a0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
14 changes: 12 additions & 2 deletions doc/config_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,21 @@ User keys can be used in search.
```

```{config:option} io.bus devices-disk
:default: "`virtio-scsi`"
:default: "`virtio-scsi` for block, `auto` for file system"
:required: "no"
:shortdesc: "Only for VMs: Override the bus for the device (`nvme`, `virtio-blk`, or `virtio-scsi`)"
:shortdesc: "Only for VMs: Override the bus for the device"
:type: "string"
This controls what bus a disk device should be attached to.

For block devices (disks), this is one of:
- `nvme`
- `virtio-blk`
- `virtio-scsi` (default)

For file systems (shared directories or custom volumes), this is one of:
- `9p`
- `auto` (default) (`virtiofs` + `9p`, just `9p` if `virtiofsd` is missing)
- `virtiofs`
```

```{config:option} io.cache devices-disk
Expand Down
6 changes: 3 additions & 3 deletions internal/server/metadata/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@
},
{
"io.bus": {
"default": "`virtio-scsi`",
"longdesc": "",
"default": "`virtio-scsi` for block, `auto` for file system",
"longdesc": "This controls what bus a disk device should be attached to.\n\nFor block devices (disks), this is one of:\n- `nvme`\n- `virtio-blk`\n- `virtio-scsi` (default)\n\nFor file systems (shared directories or custom volumes), this is one of:\n- `9p`\n- `auto` (default) (`virtiofs` + `9p`, just `9p` if `virtiofsd` is missing)\n- `virtiofs`",
"required": "no",
"shortdesc": "Only for VMs: Override the bus for the device (`nvme`, `virtio-blk`, or `virtio-scsi`)",
"shortdesc": "Only for VMs: Override the bus for the device",
"type": "string"
}
},
Expand Down

0 comments on commit da547a0

Please sign in to comment.