Modified 'modifyvm' command

Added new options for modifyvm command:

--apic
--x2apic
--paravirtdebug
--cpu-profile
--biosapic
This commit is contained in:
2017-10-07 19:22:28 +02:00
parent a78a03286a
commit f81bfe514f

View File

@@ -1585,7 +1585,8 @@ _VBoxManage() {
--videocapfile --videocapres --videocaprate --videocapfps --videocapfile --videocapres --videocaprate --videocapfps
--videocapmaxtime --videocapmaxsize --videocapopts --defaultfrontend --videocapmaxtime --videocapmaxsize --videocapopts --defaultfrontend
--cpuid-portability-level --paravirtprovider --audiocodec --usbxhci --cpuid-portability-level --paravirtprovider --audiocodec --usbxhci
--usbrename) --usbrename --apic --x2apic --paravirtdebug --cpu-profile
--biosapic --videocapopts)
if [[ ${prev} == ${cmd} ]]; then if [[ ${prev} == ${cmd} ]]; then
_vms_comp vms _vms_comp vms
@@ -1622,7 +1623,7 @@ _VBoxManage() {
--vrdemulticon|--vrdereusecon|--vrdevideochannel|--usb|\ --vrdemulticon|--vrdereusecon|--vrdevideochannel|--usb|\
--usbehci|--teleporter|--tracing-enabled|\ --usbehci|--teleporter|--tracing-enabled|\
--tracing-allow-vm-access|--usbcardreader|\ --tracing-allow-vm-access|--usbcardreader|\
--autostart-enabled|--videocap|--usbxhci) --autostart-enabled|--videocap|--usbxhci|--apic|--x2apic)
COMPREPLY=( $(compgen -W "on off" -- ${cur}) ) COMPREPLY=( $(compgen -W "on off" -- ${cur}) )
;; ;;
--graphicscontroller) --graphicscontroller)
@@ -1703,7 +1704,6 @@ _VBoxManage() {
--keyboard) --keyboard)
COMPREPLY+=( $(compgen -W "ps2 usb" -- ${cur}) ) COMPREPLY+=( $(compgen -W "ps2 usb" -- ${cur}) )
;; ;;
--uart[1-2]|--lpt[1-2]) --uart[1-2]|--lpt[1-2])
COMPREPLY+=( $(compgen -W "off" -- ${cur}) ) COMPREPLY+=( $(compgen -W "off" -- ${cur}) )
;; ;;
@@ -1715,16 +1715,13 @@ _VBoxManage() {
COMPREPLY+=( $(compgen -W "none null oss alsa pulse" \ COMPREPLY+=( $(compgen -W "none null oss alsa pulse" \
-- ${cur}) ) -- ${cur}) )
;; ;;
--audiocontroller) --audiocontroller)
COMPREPLY+=( $(compgen -W "ac97 hda sb16" -- ${cur}) ) COMPREPLY+=( $(compgen -W "ac97 hda sb16" -- ${cur}) )
;; ;;
--audiocodec) --audiocodec)
COMPREPLY+=( $(compgen -W "stac9700 ad1980 stac9221 COMPREPLY+=( $(compgen -W "stac9700 ad1980 stac9221
sb16" -- ${cur}) ) sb16" -- ${cur}) )
;; ;;
--clipboard) --clipboard)
COMPREPLY+=( $(compgen -W "disabled hosttoguest COMPREPLY+=( $(compgen -W "disabled hosttoguest
guesttohost bidirectional" -- ${cur}) ) guesttohost bidirectional" -- ${cur}) )
@@ -1733,7 +1730,6 @@ _VBoxManage() {
COMPREPLY+=( $(compgen -W "disabled hosttoguest" \ COMPREPLY+=( $(compgen -W "disabled hosttoguest" \
-- ${cur}) ) -- ${cur}) )
;; ;;
--vrdeextpack|--vrdeauthlibrary|--snapshotfolder|\ --vrdeextpack|--vrdeauthlibrary|--snapshotfolder|\
--defaultfrontend) --defaultfrontend)
COMPREPLY+=( $(compgen -W "default" -- ${cur}) ) COMPREPLY+=( $(compgen -W "default" -- ${cur}) )
@@ -1749,6 +1745,14 @@ _VBoxManage() {
--cpuid-portability-level) --cpuid-portability-level)
COMPREPLY=( $(compgen -W "0 1 2 3" -- ${cur}) ) COMPREPLY=( $(compgen -W "0 1 2 3" -- ${cur}) )
;; ;;
--cpu-profile)
COMPREPLY=( $(compgen -W "host 8086 80286 80386" \
-- ${cur}) )
;;
--biosapic)
COMPREPLY=( $(compgen -W "disabled apic x2apic" \
-- ${cur}) )
;;
esac esac
fi fi
;; ;;