[libvirt PATCH v4 2/5] virsh: add interface information to guestinfo command

Ján Tomko jtomko at redhat.com
Fri Nov 5 12:43:56 UTC 2021


On a Friday in 2021, zhanglei wrote:
>The new parameter group returns information about network interfaces
>
>Signed-off-by: zhanglei <zhanglei at smartx.com>
>---
> docs/manpages/virsh.rst | 12 ++++++++++--
> src/libvirt-domain.c    |  2 +-
> tools/virsh-domain.c    |  6 ++++++
> 3 files changed, 17 insertions(+), 3 deletions(-)
>
>diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c
>index fdc0780ae0..ce7cafde36 100644
>--- a/src/libvirt-domain.c
>+++ b/src/libvirt-domain.c
>@@ -12580,7 +12580,7 @@ virDomainSetVcpu(virDomainPtr domain,
>  *      "hostname" - the hostname of the domain
>  *
>  * VIR_DOMAIN_GUEST_INFO_INTERFACES:
>- *  Returns information about the interfaces within the domain. the typed
>+ *  Returns information about the interfaces within the domain. The typed

This is fixing up the text added in patch 1/5. I have squashed the
change there.

Jano

>  *  parameter keys are in this format:
>  *
>  *      "if.count" - the number of interfaces defined on this domain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20211105/ed2ed909/attachment-0001.sig>


More information about the libvir-list mailing list