Signed-off-by: Lin Ma <lma@xxxxxxx> --- 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