LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 09-03-2012, 04:05 PM   #1
guardian1
LQ Newbie
 
Registered: May 2012
Posts: 19

Rep: Reputation: Disabled
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?
 
Old 09-04-2012, 05:47 AM   #2
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
google can easily find http://libvirt.org/python.html if this is your favourite language
 
Old 09-04-2012, 11:33 AM   #3
guardian1
LQ Newbie
 
Registered: May 2012
Posts: 19

Original Poster
Rep: Reputation: Disabled
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Embiggen Your KVM Virtual Machines LXer Syndicated Linux News 0 12-05-2011 08:50 PM
LXer: Embiggen Your KVM Virtual Machines LXer Syndicated Linux News 1 12-05-2011 04:12 PM
converting KVM virtual machines to VMware images tkmsr Linux - Server 15 01-07-2011 01:49 PM
LXer: One way to migrate Xen virtual machines to KVM in Debian LXer Syndicated Linux News 0 11-19-2010 10:42 AM
Virtual machines running their own KVM's bill.loney Linux - Newbie 2 05-01-2009 03:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 08:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration