Virtualbox Configuration Manager
Virtualbox Configuration Manager
I am trying to use the cfgm.cpp functions like CFGMR3QueryBytes( ) to access data from the configuration xml file but it just crashes the VM before even starting. The log says CFGMR3QueryBytes( ) is undefined symbol. I have included the necessary header files. I also looked at DevPCNet.cpp which is using the same functions in its pcnetConstruct( ) function successfully.
Re: Virtualbox Configuration Manager
Here is the last few lines of the log
00:00:00.537548 rtldrNativeLoad: dlopen('/home/burhanwani/VirtualBox-4.3.28/out/linux.amd64/debug/bin/libvirtdevice.so', RTLD_NOW | RTLD_LOCAL) failed: /home/burhanwani/VirtualBox-4.3.28/out/linux.amd64/debug/bin/libvirtdevice.so: undefined symbol: CFGMR3AreValuesValid
00:00:00.537572 VMSetError: /home/burhanwani/VirtualBox-4.3.28/src/VBox/VMM/VMMR3/PDMLdr.cpp(307) int pdmR3LoadR3U(PUVM, const char*, const char*); rc=VERR_FILE_NOT_FOUND
00:00:00.537583 VMSetError: Unable to load R3 module /home/burhanwani/VirtualBox-4.3.28/out/linux.amd64/debug/bin/libvirtdevice.so (libvirtdevice): /home/burhanwani/VirtualBox-4.3.28/out/linux.amd64/debug/bin/libvirtdevice.so: undefined symbol: CFGMR3AreValuesValid
00:00:00.537634
00:00:00.537634 !!Assertion Failed!!
00:00:00.537635 Expression: <NULL>
00:00:00.537636 Location : /home/burhanwani/VirtualBox-4.3.28/src/VBox/VMM/VMMR3/PDMDevice.cpp(625) int pdmR3DevLoad(PVM, PPDMDEVREGCBINT, const char*, const char*)
00:00:00.537663 Failed to load /home/burhanwani/VirtualBox-4.3.28/out/linux.amd64/debug/bin/libvirtdevice libvirtdevice!
00:00:00.537548 rtldrNativeLoad: dlopen('/home/burhanwani/VirtualBox-4.3.28/out/linux.amd64/debug/bin/libvirtdevice.so', RTLD_NOW | RTLD_LOCAL) failed: /home/burhanwani/VirtualBox-4.3.28/out/linux.amd64/debug/bin/libvirtdevice.so: undefined symbol: CFGMR3AreValuesValid
00:00:00.537572 VMSetError: /home/burhanwani/VirtualBox-4.3.28/src/VBox/VMM/VMMR3/PDMLdr.cpp(307) int pdmR3LoadR3U(PUVM, const char*, const char*); rc=VERR_FILE_NOT_FOUND
00:00:00.537583 VMSetError: Unable to load R3 module /home/burhanwani/VirtualBox-4.3.28/out/linux.amd64/debug/bin/libvirtdevice.so (libvirtdevice): /home/burhanwani/VirtualBox-4.3.28/out/linux.amd64/debug/bin/libvirtdevice.so: undefined symbol: CFGMR3AreValuesValid
00:00:00.537634
00:00:00.537634 !!Assertion Failed!!
00:00:00.537635 Expression: <NULL>
00:00:00.537636 Location : /home/burhanwani/VirtualBox-4.3.28/src/VBox/VMM/VMMR3/PDMDevice.cpp(625) int pdmR3DevLoad(PVM, PPDMDEVREGCBINT, const char*, const char*)
00:00:00.537663 Failed to load /home/burhanwani/VirtualBox-4.3.28/out/linux.amd64/debug/bin/libvirtdevice libvirtdevice!
Re: Virtualbox Configuration Manager
libvirtdevice.so is the binary of my virtual device which I am writing on my own and adding it to Virtualbox. Everything was working fine and the file would load just fine before I tried to use the configuration manager functions.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Virtualbox Configuration Manager
Moved to VirtualBox API
-
- Site Moderator
- Posts: 5229
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Virtualbox Configuration Manager
This really belongs on the dev mailing list. Make sure to explain in detail what you are trying to achieve and then how you are trying to achieve it and how things fail. Include a full log file, not just part of it.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
Re: Virtualbox Configuration Manager
What do you mean by dev mailing list? And how do I include the whole log file ? Copy and paste it ?
-
- Site Moderator
- Posts: 5229
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Virtualbox Configuration Manager
I mean this and you use e-mails, so you just attach your file to it.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!