Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
outscale-fne committed Sep 2, 2020
1 parent 42a306f commit 5c64d95
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/VHOST.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ It's based on a cient(s)/server model, meaning that one server can handle multip

* `pg_vhost_start("/tmp", &error)`: start the vhost driver and setup the socket's folder.
* `pg_vhost_new("vhost-0", flags, &error);`: create the brick.<br>The socket will be named `qemu-vhost-0`.<br>Here are some flags availables:
* `PG_VHOST_USER_CLIENT`
* `PG_VHOST_USER_DEQUEUE_ZERO_COPY`
* `PG_VHOST_USER_CLIENT`: means that the brick will be the client and the qemu the server.
* `PG_VHOST_USER_DEQUEUE_ZERO_COPY`: means that we will use zero copy. #FIXME: explain more.
* `PG_VHOST_USER_NO_RECONNECT`: disable reconnection after disconnection.

## Current VHOST brick's status

Expand Down

0 comments on commit 5c64d95

Please sign in to comment.