[vbox-dev] VirtualBox C API: Request for simple examples
klaus.espenlaub at oracle.com
Mon May 12 15:50:54 UTC 2014
Alexey and Traiano,
On 11.05.2014 20:40, Alexey Eromenko wrote:
> Try to look for "VBoxManage" front-end source code inside VirtualBox sources.
> I think it uses C++ API, and only publicly documented functions.
> (Probably something similar exists for C)
No, there is no C equivalent for VBoxManage. Would be a waste of time.
VBoxManage is quite huge, so is much further away from "smaller more
digestable examples" than the C API sample...
VBoxManage does cover all API functionality, so it definitely can serve
as clarification if the SDK documentation (either look at the included
PDF file or https://www.virtualbox.org/sdkref/ ) isn't answering your
> On Sun, May 11, 2014 at 8:29 PM, Traiano Welcome <traiano at gmail.com> wrote:
>> Hi All
>> I'm starting out to use the virtualbox C API, my objective is to carry out
>> the following sequence of simple operations to automate the deployment of
>> VMs on VirtualBox:
>> 1. Create and Launch a VM
>> 2. Create a virtual disk and attach it to the VM
>> 3. Detach a virtual disk from the VMr
>> 4. Shut the VM down
>> I'm working through the single example C program supplied with the
>> VirtualBox SDK, however, I find it's quite a complex piece of work, and I'd
>> appreciate it if there were smaller more digestable examples for doing
>> limited sing-purpose operations like those listed above?
>> Any pointers to working examples of C code would be much appreciated!
>> Thanks in advance!
More information about the vbox-dev