Skip to content

Commit

Permalink
fix(README): configs
Browse files Browse the repository at this point in the history
Signed-off-by: João Peixoto <[email protected]>
  • Loading branch information
joaopeixoto13 committed Sep 26, 2024
1 parent 39f9d53 commit 018e933
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 17 deletions.
4 changes: 0 additions & 4 deletions src/virtio/src/block/virtio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ devices:
# --- VirtIO Common ---
- id: 0
type: "block"
shmem_addr: 0x50000000
shmem_size: 0x01000000
shmem_path: "/dev/baoipc0"
mmio_addr: 0xa003e00
irq: 47
data_plane: virtio
# --- Virtio Block Specific ---
file_path: "/etc/block.img"
Expand Down
4 changes: 0 additions & 4 deletions src/virtio/src/fs/vhost_user/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ devices:
# --- VirtIO Common ---
- id: 0
type: "fs"
shmem_addr: 0x50000000
shmem_size: 0x01000000
shmem_path: "/dev/baoipc0"
mmio_addr: 0xa003e00
irq: 47
data_plane: vhost_user
# --- Vhost-user specific ---
socket_path: "/root/"
Expand Down
4 changes: 0 additions & 4 deletions src/virtio/src/net/virtio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ devices:
# --- VirtIO Common ---
- id: 0
type: "net"
shmem_addr: 0x50000000
shmem_size: 0x01000000
shmem_path: "/dev/baoipc0"
mmio_addr: 0xa003e00
irq: 47
data_plane: virtio
# --- Virtio Net Specific ---
tap_name: "tap0"
Expand Down
6 changes: 1 addition & 5 deletions src/virtio/src/vsock/vhost/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,14 @@
Follow these steps to quickly set up and run the vhost vsock device with Bao Hypervisor:

1. **Prepare Configuration File**: Create a configuration file (*config-virtio-vsock.yaml*) specifying
the settings for the vhost virtual filesystem device. One example of a configuration file could be:
the settings for the vhost net device. One example of a configuration file could be:

```
devices:
# --- Common ---
- id: 0
type: "vsock"
shmem_addr: 0x50000000
shmem_size: 0x01000000
shmem_path: "/dev/baoipc0"
mmio_addr: 0xa003e00
irq: 47
data_plane: vhost
# --- Vsock specific ---
guest_cid: 3
Expand Down

0 comments on commit 018e933

Please sign in to comment.