dpu-utilities/0010-update-libvirt-doc.patch
Weifeng Su fe851cd555 Sync patches from source
The change in patches:
1. Fix cache issue when recreate file
2. Introduce CMAKE to build userspace apps
3. CleanCode

Signed-off-by: Weifeng Su <suweifeng1@huawei.com>
2023-06-12 08:24:22 +00:00

57 lines
3.0 KiB
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From ab96a3f0279f6befda7c66ea80956defe4b90f40 Mon Sep 17 00:00:00 2001
From: liqiang <liqiang64@huawei.com>
Date: Fri, 9 Jun 2023 15:20:31 +0800
Subject: update libvirt doc
Signed-off-by: liqiang <liqiang64@huawei.com>
---
...\351\233\266\346\220\255\345\273\272v1.1.md" | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git "a/usecases/libvirtd-offload/libvirt\347\233\264\350\277\236\350\201\232\345\220\210\347\216\257\345\242\203\344\273\216\351\233\266\346\220\255\345\273\272v1.1.md" "b/usecases/libvirtd-offload/libvirt\347\233\264\350\277\236\350\201\232\345\220\210\347\216\257\345\242\203\344\273\216\351\233\266\346\220\255\345\273\272v1.1.md"
index c1f9c87..85541dc 100644
--- "a/usecases/libvirtd-offload/libvirt\347\233\264\350\277\236\350\201\232\345\220\210\347\216\257\345\242\203\344\273\216\351\233\266\346\220\255\345\273\272v1.1.md"
+++ "b/usecases/libvirtd-offload/libvirt\347\233\264\350\277\236\350\201\232\345\220\210\347\216\257\345\242\203\344\273\216\351\233\266\346\220\255\345\273\272v1.1.md"
@@ -2,16 +2,27 @@
| ---- | --------- | ---- | ------------------------------------------------------------ |
| V1.0 | 2022/12/5 | 李强 | 创建文档 |
| V1.1 | 2023/2/6 | 李强 | 增加uds proxy组件部署介绍增加rexec组件部署介绍修改libvirt相关描述适配uds proxy组件。 |
-| V1.2 | 2023/3/22 | 李强 | rexec重构后更新rexec组件部署说明。 |
-| V1.3 | 2023/3/27 | 李强 | qtfs为connect syscall适配uds做改动 |
+| V1.2 | 2023/3/22 | 李强 | rexec重构后更新rexec组件部署说明。 |
+| V1.3 | 2023/3/27 | 李强 | qtfs为connect syscall适配uds做改动。 |
+| V1.4 | 2023/6/9 | 李强 | 将默认的组件链接方式改为vsock网络改为测试模式。 |
# **1** 硬件准备
+## 测试模式
+
需准备2台物理机虚机当前未试过网络互通。
其中一台作为DPU模拟另一台作为HOST模拟。在本文档中用DPU和HOST指代这两台服务器。
+注意:测试模式因为会暴露网络端口且不做连接认证,存在网络安全风险,仅能用于内部测试验证,不要用于实际生产环境。
+
+## vsock模式
+
+需要DPU加HOST且DPU能支持通过virtio提供vsock通信方式。
+
+目前还未基于真实的支持DPU vsock的环境调试过本文档当前仅描述基于测试模式的方法下面的内容依然默认使用测试模式。
+
# **2** libvirt卸载架构图
@@ -40,7 +51,7 @@ udsproxyd是一个跨主机的unix domain socket代理服务需要分别部
```bash
cd qtfs/ipc
-make && make install
+make -j UDS_TEST_MODE=1 && make install
```
当前最新版本下qtfs server侧的engine服务已经整合了udsproxyd的能力所以server侧若部署了qtfs后不需要再额外启动udsproxyd。client侧则单独拉起udsproxyd服务
--
2.33.0