dpu-utilities/0017-update-some-problem-in-libvirt-readme.patch
liqiang d57469f9b2 update recently bugfix
Signed-off-by: liqiang <liqiang64@huawei.com>
2023-12-26 15:47:21 +08:00

47 lines
2.2 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 b3a943ee226470e2f7ba61b1d7ce5c86b56e001a Mon Sep 17 00:00:00 2001
From: liqiang <liqiang64@huawei.com>
Date: Mon, 18 Dec 2023 17:23:54 +0800
Subject: [PATCH 4/6] update some problem in libvirt readme
Signed-off-by: liqiang <liqiang64@huawei.com>
---
...344\273\216\351\233\266\346\220\255\345\273\272v1.1.md" | 7 +++----
1 file changed, 3 insertions(+), 4 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 bc47c50..07dbcb4 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"
@@ -99,9 +99,9 @@ make install
make role=server
make install
```
-配置工具将会自动安装然后使用qtcfg命令配置白名单假设需要增加的白名单为"/var/lib/libvirt/",输入:
+配置工具将会自动安装然后使用qtcfg命令配置白名单假设需要增加的白名单为"/var/lib/libvirt",输入:
```
-qtcfg -x /var/lib/libvirt/
+qtcfg -w udsconnect -x /var/lib/libvirt
```
查询白名单为:
```
@@ -133,7 +133,6 @@ rexec是一个用c语言开发的远程执行组件分为rexec client和rexec
```
chmod 400 /etc/rexec/whitelist。
```
-如果想仅用于测试可以不进行白名单配置删除此文件重启rexec_server进程后则没有白名单限制。
下载dpu-utilities代码后进入qtfs/rexec主目录下执行`make && make install`即可安装rexec所需全部二进制到/usr/bin目录下包括了`rexec、rexec_server`两个二进制可执行文件。
@@ -263,7 +262,7 @@ libvirtd -d
qtcfg -z
```
-查看列举出来的白名单是否包含"/var/lib/libvirt/"
+查看列举出来的白名单是否包含"/var/lib/libvirt"和"/var/run/rexec"。
## **3.5** 拉起虚机
--
2.37.1 (Apple Git-137.1)