Server IP : 128.199.20.84 / Your IP : 172.69.17.19 Web Server : Apache/2.4.41 (Ubuntu) System : Linux competent-maruti 5.4.0-128-generic #144-Ubuntu SMP Tue Sep 20 11:00:04 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.0.20 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF Directory (0755) : /usr/src/../share/bash-completion/completions/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
# bash completion for qemu -*- shell-script -*- _qemu() { local cur prev words cword _init_completion || return case $prev in -fd[ab]|-hd[abcd]|-cdrom|-option-rom|-kernel|-initrd|-bootp|-pidfile| \ -loadvm|-mtdblock|-sd|-pflash|-bios) _filedir return ;; -tftp|-smb|-L|-chroot) _filedir -d return ;; -boot) COMPREPLY=( $(compgen -W 'a c d n' -- "$cur") ) return ;; -k) COMPREPLY=( $(compgen -W 'ar de-ch es fo fr-ca hu ja mk no pt-br sv da en-gb et fr fr-ch is lt nl pl ru th de en-us fi fr-be hr it lv nl-be pt sl tr' -- "$cur") ) return ;; -soundhw) COMPREPLY=( $(compgen -W "$($1 -soundhw ? | awk \ '/^[[:lower:]]/ {print $1}') all" -- "$cur") ) return ;; -M) COMPREPLY=( $(compgen -W "$($1 -M ? | awk \ '/^[[:lower:]]/ {print $1}')" -- "$cur") ) return ;; -cpu) COMPREPLY=( $(compgen -W "$($1 -cpu ? | awk '{print $2}')" \ -- "$cur") ) return ;; -usbdevice) COMPREPLY=( $(compgen -W 'mouse tablet disk: host: serial: braille net' -- "$cur") ) return ;; -net) COMPREPLY=( $(compgen -W 'nic user tap socket vde none dump' \ -- "$cur") ) return ;; -serial|-parallel|-monitor) COMPREPLY=( $(compgen -W 'vc pty none null /dev/ file: stdio pipe: COM udp: tcp: telnet: unix: mon: braille' -- "$cur") ) return ;; -redir) COMPREPLY=( $(compgen -S":" -W 'tcp udp' -- "$cur") ) return ;; -bt) COMPREPLY=( $(compgen -W 'hci vhci device' -- "$cur") ) return ;; -vga) COMPREPLY=( $(compgen -W 'cirrus std vmware xenfb none' -- "$cur") ) return ;; -drive) COMPREPLY=( $(compgen -S"=" -W 'file if bus unit index media cyls snapshot cache format serial addr' -- "$cur") ) return ;; -balloon) COMPREPLY=( $(compgen -W 'none virtio' -- "$cur") ) return ;; -smbios) COMPREPLY=( $(compgen -W 'file type' -- "$cur") ) return ;; -watchdog) COMPREPLY=( $(compgen -W "$($1 -watchdog ? 2>&1 | \ awk '{print $1}')" -- "$cur") ) return ;; -watchdog-action) COMPREPLY=( $(compgen -W 'reset shutdown poweroff pause debug none' -- "$cur") ) return ;; -runas) _allowed_users return ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $(compgen -W '$(_parse_help "$1" -help) -fd{a,b} -hd{a..d}' -- "$cur") ) else _filedir fi } && complete -F _qemu qemu qemu-kvm qemu-system-i386 qemu-system-x86_64 # ex: filetype=sh