From 5c64d951b7fd52c818b5023041cbdec1f09886ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20NOUAILLE=20DEGORCE?= Date: Wed, 2 Sep 2020 08:59:00 +0000 Subject: [PATCH] wip --- doc/VHOST.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/VHOST.md b/doc/VHOST.md index d068cbc59..b72797043 100644 --- a/doc/VHOST.md +++ b/doc/VHOST.md @@ -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.
The socket will be named `qemu-vhost-0`.
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