コード例 #1
0
 def send_command(self, cmd, timeout=60):
     stdout, stderr, retcode = qemu_send_command(self.qemu.ssh_port,
                                                 cmd,
                                                 timeout=timeout)
     return str(stdout), str(stderr), retcode
コード例 #2
0
 def qemu_command(self, command):
     return qemu_send_command(self.qemu.ssh_port, command)
コード例 #3
0
 def qemu_command(self, command, timeout=60):
     return qemu_send_command(self.qemu.ssh_port, command, timeout=timeout)