Re: [libvirt-users] creating a domain

2012-05-10 Thread Doug Goldstein
On May 9, 2012, at 4:26 PM, John Wayne wrote: > hi, > > i am a bit confused on how to start an inactive domain using the python > bindings, any help would be appreciated. > (inactive as in the domain was created with virConnect.defineXML sometime in > the past) > > > looks like i have to use

Re: [libvirt-users] creating a domain

2012-05-10 Thread Daniel P. Berrange
On Thu, May 10, 2012 at 12:00:17PM +0300, Henrik Ahlgren wrote: > On Wed, May 09, 2012 at 02:26:47PM -0700, John Wayne wrote: > > looks like i have to use virDomain.create, however virDomain.create > > needs a defined domain xmldesc as a parameter and i am not sure on how to > > get that > > Have

Re: [libvirt-users] creating a domain

2012-05-10 Thread Henrik Ahlgren
On Wed, May 09, 2012 at 02:26:47PM -0700, John Wayne wrote: > looks like i have to use virDomain.create, however virDomain.create > needs a defined domain xmldesc as a parameter and i am not sure on how to get > that Have you tried one of these? lookupByID(self, id) Try to find a domain

Re: [libvirt-users] creating a domain

2012-05-10 Thread Peter Krempa
On 05/09/2012 11:26 PM, John Wayne wrote: hi, i am a bit confused on how to start an inactive domain using the python bindings, any help would be appreciated. (inactive as in the domain was created with virConnect.defineXML sometime in the past) looks like i have to use virDomain.create, how

[libvirt-users] creating a domain

2012-05-09 Thread John Wayne
hi, i am a bit confused on how to start an inactive domain using the python bindings, any help would be appreciated. (inactive as in the domain was created with virConnect.defineXML sometime in the past) looks like i have to use virDomain.create, however virDomain.create needs a defined domai