VirtualBox

Opened 2 years ago

Last modified 2 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:1 by RemonK17, 2 years ago

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

Last edited 2 years ago by RemonK17 (previous) (diff)

comment:2 by Klaus Espenlaub, 2 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 RemonK17, 2 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..

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use