Make Qemu be the vhost-user server
jerome-jutteau opened this issue · 1 comments
jerome-jutteau commented
In order to reconnect a VM machine to a (new) Butterfly, qemu needs to be the "server" in vhost-user and Butterfly the "client". Check packetgraph's issue.
- Adapt packetgraph to manage vhost as a client
- Make qemu create it's vhost file and add tests in packetgraph to check communication is ok
- Add deconnection/reconnection tests in packetgraph
- Add a "vhost client" option in Butterfly during vnic creation and choose a path to vhost-user socket.
- Adapt graph.cc
- Add tests to try (re)connections
jerome-jutteau commented
Client's mode in DPDK don't seems to work and vhost PMD client option has not been enabled yet (17.08). Forcing option produce some bogus behaviors (like queues cannot empty or such).
Reporting this feature once DPDK support for client mode will be ready