Opened 3 years ago
Last modified 3 years ago
#20929 new defect
"vboxmanage showvminfo" creates warning when editing guest settings
Reported by: | RemonK17 | Owned by: | |
---|---|---|---|
Component: | VM control | Version: | VirtualBox 6.1.30 |
Keywords: | vboxmanage showvminfo | Cc: | |
Guest type: | Windows | Host type: | Linux |
Description
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.
Change History (3)
comment:2 by , 3 years ago
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 by , 3 years ago
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..
Sorry for the typo's, it seems i can't edit the ticket... but in the last sentence i meant "vboxmanage showvminfo"