From 2396dd7a162013c2b0b1788278fb0b270cb1e32c Mon Sep 17 00:00:00 2001 From: Euler Robot Date: Thu, 16 Dec 2021 17:09:29 +0800 Subject: [PATCH 1/3] virsh: Display vhostuser socket path in domblklist The domblklist command is designed to show a brief information about the blocks of a domain. One piece of information that is shows is "Target"and "Source". Before the modification, the Vhost disk of SPDK is displayed as "-". After the modification, the socket associated with it can be displayed. Signed-off-by: dinglimin --- ...-vhostuser-socket-path-in-domblklist.patch | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 virsh-Display-vhostuser-socket-path-in-domblklist.patch diff --git a/virsh-Display-vhostuser-socket-path-in-domblklist.patch b/virsh-Display-vhostuser-socket-path-in-domblklist.patch new file mode 100644 index 0000000..b355dcf --- /dev/null +++ b/virsh-Display-vhostuser-socket-path-in-domblklist.patch @@ -0,0 +1,29 @@ +From d15f4b0912036ebfc805172c98a217b0575e91ff Mon Sep 17 00:00:00 2001 +From: dinglimin +Date: Thu, 16 Dec 2021 17:09:29 +0800 +Subject: [PATCH] virsh: Display vhostuser socket path in domblklist + +The domblklist command is designed to show a brief information about the blocks of a domain. One piece of information that is shows is "Target"and "Source". Before the modification, the Vhost disk of SPDK is displayed as "-". After the modification, the socket associated with it can be displayed. + +Signed-off-by: dinglimin +--- + tools/virsh-domain-monitor.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/tools/virsh-domain-monitor.c b/tools/virsh-domain-monitor.c +index 9b8c69fa9d..74ff369597 100644 +--- a/tools/virsh-domain-monitor.c ++++ b/tools/virsh-domain-monitor.c +@@ -665,7 +665,8 @@ cmdDomblklist(vshControl *ctl, const vshCmd *cmd) + "|./source/@dev" + "|./source/@dir" + "|./source/@name" +- "|./source/@volume)", ctxt); ++ "|./source/@volume" ++ "|./source/@path)", ctxt); + } + + if (details) { +-- +2.27.0 + -- Gitee From 050664670643a68fe2e96e03cb25186f739a46fc Mon Sep 17 00:00:00 2001 From: Chen Qun Date: Sat, 12 Feb 2022 11:28:48 +0800 Subject: [PATCH 2/3] spec: Update patch and changelog with !49 virsh: Display vhostuser socket path in domblklist !49 virsh: Display vhostuser socket path in domblklist Signed-off-by: dinglimin --- libvirt.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libvirt.spec b/libvirt.spec index 3f2ba78..cfc096b 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -139,6 +139,7 @@ Patch0028: util-Move-virIsDevMapperDevice-to-virdevmapper.c.patch Patch0029: virdevmapper-Don-t-use-libdevmapper-to-obtain-depend.patch Patch0030: storage_driver-Unlock-object-on-ACL-fail-in-storageP.patch Patch0031: security-fix-SELinux-label-generation-logic.patch +Patch0032: virsh-Display-vhostuser-socket-path-in-domblklist.patch Requires: libvirt-daemon = %{version}-%{release} Requires: libvirt-daemon-config-network = %{version}-%{release} @@ -1871,6 +1872,9 @@ exit 0 %changelog +* Sat Feb 12 2022 Euler Robot +- virsh: Display vhostuser socket path in domblklist + * Sun Sep 26 2021 Euler Robot - storage_driver: Unlock object on ACL fail in storagePoolLookupByTargetPath - security: fix SELinux label generation logic -- Gitee From 2b350f0377cb4665a7d5c7cf13d551021a1d4a2d Mon Sep 17 00:00:00 2001 From: Chen Qun Date: Sat, 12 Feb 2022 11:28:50 +0800 Subject: [PATCH 3/3] spec: Update release version with !49 increase release verison by one Signed-off-by: Chen Qun --- libvirt.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvirt.spec b/libvirt.spec index cfc096b..9c94fec 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -99,7 +99,7 @@ Summary: Library providing a simple virtualization API Name: libvirt Version: 6.2.0 -Release: 11 +Release: 12 License: LGPLv2+ URL: https://libvirt.org/ -- Gitee