Re: [libvirt] Create a copy of a Domain

2010-06-14 Thread IKI-サガル バルウェ
ld understand. Please help me with this. Thanks and Regards Sagar Barve - Original Message - From: "Daniel P. Berrange" To: "IKI-サガル バルウェ" Cc: "Philipp Hahn" ; Sent: Friday, June 11, 2010 6:32 PM Subject: Re: [libvirt] Create a copy of a Domain On Fri, Jun 11, 2010

Re: [libvirt] Create a copy of a Domain

2010-06-11 Thread Daniel P. Berrange
On Fri, Jun 11, 2010 at 10:22:18AM +0900, IKI-サガル バルウェ wrote: > Thanks Daniel, > > >>I think you must at least change the UUID (/domain/uuid) and name > >>(/domain/name) in the XML description. Very like you also need to > >>duplicate > >>the used disk images and update their paths > >>(/domain/d

Re: [libvirt] Create a copy of a Domain

2010-06-10 Thread IKI-サガル バルウェ
t. We can do this by the 'os.system' function in python. Thanks and Regards Sagar Barve - Original Message - From: "Daniel P. Berrange" To: "Philipp Hahn" Cc: Sent: Thursday, June 10, 2010 7:45 PM Subject: Re: [libvirt] Create a copy of a Domain On

Re: [libvirt] Create a copy of a Domain

2010-06-10 Thread Daniel P. Berrange
On Thu, Jun 10, 2010 at 10:58:54AM +0200, Philipp Hahn wrote: > Hello, > > Am Donnerstag 10 Juni 2010 10:28:15 schrieb IKI-サガル バルウェ: > > 1. Get the XML Desc of the source Domain using "virDomainGetXMLDesc". > > 2. Get the Hypervisor Object for the source Domain using > > "virDomainGetConnect". > >

Re: [libvirt] Create a copy of a Domain

2010-06-10 Thread Philipp Hahn
Hello, Am Donnerstag 10 Juni 2010 10:28:15 schrieb IKI-サガル バルウェ: > 1. Get the XML Desc of the source Domain using "virDomainGetXMLDesc". > 2. Get the Hypervisor Object for the source Domain using > "virDomainGetConnect". > 3. Create a new Domain using the "virDomainCreateXML" method. > > After doi

[libvirt] Create a copy of a Domain

2010-06-10 Thread IKI-サガル バルウェ
Hello All, I am trying to create a Domain/VM copy program. In this program, a completely new domain should be created from a source domain. What I tried so far is this: 1. Get the XML Desc of the source Domain using "virDomainGetXMLDesc". 2. Get the Hypervisor Object for the source Domain using