Page 1 of 1
VIrtual box API for interface info
Posted: 22. Mar 2013, 11:46
by Girish518
Hi ,
Is there any way to find interface binding info in virtualbox .. If one user uses the interface other users not able to use the same interface we are getting VERR_PERMISSION_DENIED error message.
We need to find whether interface is binded to another virtual machine or not of the other user
Thanks & Regards
Girish
Re: VIrtual box API for interface info
Posted: 22. Mar 2013, 13:31
by noteirak
you can parse the output of vboxmanage showvminfo <vmname> --details to see which interface it is using, but you will have to do it under each user's session so you can actually see the VMs...
If you could give a bit more insight on how you've setup it, that could be helpfull
Re: VIrtual box API for interface info
Posted: 26. Mar 2013, 07:57
by Girish518
Is there any way to find on the same user ...its bit difficult take each and every user we thousands of users....
Re: VIrtual box API for interface info
Posted: 26. Mar 2013, 08:57
by noteirak
The only way you have is to parse the .vbox file for every VM then, but the content & format can change anytime (undocumented on purpose), so for every upgrade you would need to test first.
Re: VIrtual box API for interface info
Posted: 26. Mar 2013, 10:40
by Girish518
Thanks for the inputs .. i have one more question ..how virtual box giving VERR_PERMISSION_DENIED error when other user using the same interface. Is there flag/lock binding to host only interface .....
Re: VIrtual box API for interface info
Posted: 26. Mar 2013, 13:14
by noteirak
Without the verbatim error message, the log file of the VM and its configuration, not much we can tell you.
For the log file and the VM configuration, you can find instruction
here. Make sure you attach it all as a zip file.
Also, what are the permission on the host-only interface?
Re: VIrtual box API for interface info
Posted: 26. Mar 2013, 13:24
by Girish518
I Posted the question in the forum regarding VERR_PERMISSION_DENIED Please find the link
viewtopic.php?f=7&t=54697
Re: VIrtual box API for interface info
Posted: 26. Mar 2013, 13:29
by noteirak
I am locking this topic as cross-posting is not allowed, and continue this discussion on the other thread.