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
VIrtual box API for interface info
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: VIrtual box API for interface info
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
If you could give a bit more insight on how you've setup it, that could be helpfull
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
Re: VIrtual box API for interface info
Is there any way to find on the same user ...its bit difficult take each and every user we thousands of users....
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: VIrtual box API for interface info
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.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
Re: VIrtual box API for interface info
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 .....
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: VIrtual box API for interface info
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?
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?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
Re: VIrtual box API for interface info
I Posted the question in the forum regarding VERR_PERMISSION_DENIED Please find the link
viewtopic.php?f=7&t=54697
viewtopic.php?f=7&t=54697
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: VIrtual box API for interface info
I am locking this topic as cross-posting is not allowed, and continue this discussion on the other thread.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!