KVM API for starting virtual machines
Hi Forum,
I have been using KVM and it has proven really easy to use. I am now in a position where I would like to be able to launch KVM virtual machines in particular situations in my work. I have a Python script which is able to identify the right set of circumstances in which we want to launch a VM, but I haven't been able to find an API which would allow me to start a VM. Google turns up libvirt as the top result, but I can't find anything in there which relates to anything I need. Nothing else seems to turn up. I know there must be some kind of API which can do this, since wrappers such as Virtual Machine Manager must use them, but I can't figure out how to do this. Can anybody help please? |
google can easily find http://libvirt.org/python.html if this is your favourite language
|
the unfortunate thing about libvirt is that it does not work if I install KVM from source. If I install KVM using apt-get, it works fine. This is one of the problems I have been trying to get around but I still haven't sorted it yet. Any other suggestions please?
|
All times are GMT -5. The time now is 07:10 AM. |