VirtualBox

3 年 前 建立

3 年 前 更新

#20929 new defect

"vboxmanage showvminfo" creates warning when editing guest settings

回報者: RemonK17 負責人:
元件: VM control 版本: VirtualBox 6.1.30
關鍵字: vboxmanage showvminfo 副本:
Guest type: Windows Host type: Linux

描述

I have a bash script running in the background that checks every few seconds if a VM is running on my second workspace of Mint20. When i am in Virtualbox Manager and want to edit a setting of a VM that is NOT running, i get a warning that the VM is running and not all settings are stored or changed.. every time that script is called. The exact warning is in Dutch, but from the forum is got this in English:

"The virtual machine you are changing has been started. Only certain settings can be changed while a machine is running. All other changes will be lost if you close this window now"

The line in the bash script is: "vboxmanage showvminfo "W7_64" | grep -c "running (since" "

So calling "vboxmanage showvminfo" creates a warning that the VM is running when you try to edit guest settings.

To create this situation, open vbox manager, click on usb settings an leave that open, then go to the terminal and start "vbmanage showvminfo". The warning pops up that the VM is running.

更動歷史 (3)

comment:1 3 年 前RemonK17 編輯

Sorry for the typo's, it seems i can't edit the ticket... but in the last sentence i meant "vboxmanage showvminfo"

最後由 RemonK17 編輯於 3 年 前 (上一筆) (差異)

comment:2 3 年 前Klaus Espenlaub 編輯

Hmmm... the VM is certainly not started by "VBoxManage showvminfo", but it creates a 2nd session and apparently the GUI doesn't like that.

Hard to predict when someone can find time to look into this unusual case (and how difficult it is to fix this).

comment:3 3 年 前RemonK17 編輯

I managed to workaround this by using "vboxmanage list runningvms",but then i only know the name of the running VM's. No further info..

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette