Lines Matching refs:cmd
135 for cmd in self._matches:
136 if cmd.startswith(text):
138 return cmd
205 cmds = cast(List[Dict[str, str]], self.cmd('query-commands'))
206 for cmd in cmds:
207 self._completer.append(cmd['name'])
366 cmd = {**qmpcmd, **resp}
367 self._print(cmd, fh=self.logfile)
441 for cmd in self._cmd_passthrough('help')['return'].split('\r\n'):
442 if cmd and cmd[0] != '[' and cmd[0] != '\t':
443 name = cmd.split()[0] # drop help text
458 for cmd in self._cmd_passthrough('info')['return'].split('\r\n'):
459 if cmd:
460 self._completer.append('info ' + cmd.split()[1])
582 cmd = args.command
583 if len(cmd) != 0 and cmd[0] == '--':
584 cmd = cmd[1:]
585 if len(cmd) == 0:
586 cmd = ["qemu-system-x86_64"]
589 cmd += ["-qmp", "unix:%s" % sockpath]
602 with Popen(cmd):