[Solved] Using API to create / manage vm's
Posted: 20. Jul 2009, 16:53
Hi @all,
I have some question about using the API. Like the topic describes, I want to create and manage vm's with the API. Creating a VM should not be a problem, but I don't find a way to attach cdrom image to a VM. I had search in API documentation and also google don't help much. In the API get methods or readonly attributes are described but I found nothing to set, same problem at network interfaces and serial ports.
Maybe a solution can be: to prepare an description xml file and load them with IVirtualBox::openMachine. Could work but I think is not the best way.
So my question is, is there a way to do what I want to do directly with the API?
Thanks for Help
I have some question about using the API. Like the topic describes, I want to create and manage vm's with the API. Creating a VM should not be a problem, but I don't find a way to attach cdrom image to a VM. I had search in API documentation and also google don't help much. In the API get methods or readonly attributes are described but I found nothing to set, same problem at network interfaces and serial ports.
Maybe a solution can be: to prepare an description xml file and load them with IVirtualBox::openMachine. Could work but I think is not the best way.
So my question is, is there a way to do what I want to do directly with the API?
Thanks for Help