[libvirt] [PATCH 10/17] virsh: Add completion for --iothread argument of attach-disk command

Lin Ma morecache at gmail.com
Fri Sep 11 07:13:11 UTC 2020


Signed-off-by: Lin Ma <lma at suse.de>
---
 tools/virsh-domain.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index 5222bbb566..6f8424ec14 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -243,6 +243,8 @@ static const vshCmdOptDef opts_attach_disk[] = {
     },
     {.name = "iothread",
      .type = VSH_OT_STRING,
+     .completer = virshDomainIOThreadIdCompleter,
+     .completer_flags = 0,
      .help = N_("IOThread to be used by supported device")
     },
     {.name = "cache",
-- 
2.26.0




More information about the libvir-list mailing list