From: @openeuler-sync-bot Reviewed-by: @imxcc Signed-off-by: @imxcc
This commit is contained in:
commit
522beebd6b
@ -99,7 +99,7 @@
|
|||||||
Summary: Library providing a simple virtualization API
|
Summary: Library providing a simple virtualization API
|
||||||
Name: libvirt
|
Name: libvirt
|
||||||
Version: 6.2.0
|
Version: 6.2.0
|
||||||
Release: 16
|
Release: 17
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://libvirt.org/
|
URL: https://libvirt.org/
|
||||||
|
|
||||||
@ -150,6 +150,7 @@ Patch0039: add-phytium-2000plus-and-s2500-support-on-arm-archit.patch
|
|||||||
Patch0040: virDevMapperGetTargets-Don-t-ignore-EBADF.patch
|
Patch0040: virDevMapperGetTargets-Don-t-ignore-EBADF.patch
|
||||||
Patch0041: virdevmapper-Don-t-cache-device-mapper-major.patch
|
Patch0041: virdevmapper-Don-t-cache-device-mapper-major.patch
|
||||||
Patch0042: virdevmapper-Handle-kernel-without-device-mapper-sup.patch
|
Patch0042: virdevmapper-Handle-kernel-without-device-mapper-sup.patch
|
||||||
|
Patch0043: virsh-Display-vhostuser-socket-path-in-domblklist.patch
|
||||||
|
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-config-network = %{version}-%{release}
|
Requires: libvirt-daemon-config-network = %{version}-%{release}
|
||||||
@ -1882,6 +1883,9 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 08 2022 imxcc <xingchaochao@huawei.com>
|
||||||
|
- virsh: Display vhostuser socket path in domblklist
|
||||||
|
|
||||||
* Wed Dec 08 2021 Euler Robot <euler.robot@huawei.com>
|
* Wed Dec 08 2021 Euler Robot <euler.robot@huawei.com>
|
||||||
- virDevMapperGetTargets: Don't ignore EBADF
|
- virDevMapperGetTargets: Don't ignore EBADF
|
||||||
- virdevmapper: Don't cache device-mapper major
|
- virdevmapper: Don't cache device-mapper major
|
||||||
|
|||||||
32
virsh-Display-vhostuser-socket-path-in-domblklist.patch
Normal file
32
virsh-Display-vhostuser-socket-path-in-domblklist.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
From a50b9b25b94d590215ccbe18a6b9860990098f81 Mon Sep 17 00:00:00 2001
|
||||||
|
From: dinglimin <dinglimin@cmss.chinamobile.com>
|
||||||
|
Date: Thu, 16 Dec 2021 17:18:48 +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 <dinglimin@cmss.chinamobile.com>
|
||||||
|
---
|
||||||
|
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
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user