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?
|