<br><br><div class="gmail_quote">On 2 August 2011 18:28, sethuraman subbiah <span dir="ltr"><<a href="mailto:sethusubbiah@gmail.com">sethusubbiah@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im"><br>
On Aug 2, 2011, at 5:29 PM, Eric Blake wrote:<br>
<br>
> [re-adding the list]<br>
><br>
> On 08/02/2011 03:18 PM, sethuraman subbiah wrote:<br>
>>> Libvirt shoots for monthly releases; the current schedule is feature freeze this weekend, then a release around the first of August.<br>
>>><br>
>>> The new API will allow you do to either:<br>
>>><br>
>>> virsh dumpxml --inactive --dom>  file.xml<br>
>>> edit file.xml<br>
>>> virsh save dom dom.save --xml file.xml<br>
>>> virsh restore file.save<br>
>>><br>
>>> or:<br>
>>><br>
>>> virsh dumpxml --inactive --dom>  file.xml<br>
><br>
> Using --inactive here only works if you haven't made any changes to the inactive configuration that differs from the currently running domain. I'd amend this step to 'virsh dumpxml dom > file.xml' for both of these examples.<br>


><br>
>>> virsh save dom dom.save<br>
>>> edit file.xml<br>
>>> virsh restore file.save --xml file.xml<br>
><br>
> These two examples will be supported in 0.9.4.  Additionally, I added:<br>
><br>
> virsh save-file-dumpxml dom.save > file.xml<br>
> virsh save-file-define dom.save file.xml<br>
> virsh save-file-edit dom.save<br>
><br>
> to do things inline, and to make it so you don't have to remember to 'virsh dumpxml dom' prior to 'virsh save'.<br>
><br></div></blockquote><div><br></div><div>I tried changing the disk image and it works fine. But if I try to change the mac address , I get error: unsupported configuration. My aim was to perform cloning and change the mac of the cloned image and also doing some changes inside the vm to make sure it obtains a new ip. Is there a possibility to get this working with the current API ? </div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
>><br>
>> I found that the latest libvirt (libvirt 0.9.4) is out.<br>
><br>
> That's amazing, considering it hasn't been released yet :)  Maybe you are referring to 0.9.4-rc2 instead?  But at any rate, the official 0.9.4 will probably be released tomorrow with even more bug fixes above 0.9.4-rc2.<br>


><br>
</div>Yeah , I was referring to 0.9.4-rc2 :) I will install the official libvirt 0.9.4 tomorrow .<br>
<div class="im">> > I tried installing in my Centos 5.6 machine. After a successful installation, when I start virsh , I get :<br>
>><br>
>> virsh: /lib/libvirt.so.0: version `LIBVIRT_PRIVATE_0.8.2' not found (required by virsh)<br>
>><br>
>> Is it possible to get the latest version of libvirt 0.9.4 work on Centos 5.6 ?  Thanks a lot for your help.<br>
><br>
> Yes, it should be possible, although I haven't tried it myself on centos (but I have tried on RHEL 5.7).  Are you sure you installed your self-built libvirt.so correctly?  We take great pains to ensure that libvirt.so is backwards compatible (no symbols are ever removed).<br>


><br>
</div>I think so, I installed libvirt 0.9.4-rc2 on Centos 6 and it worked fine. I tried installing in Centos 5.6 (It had libvirt already installed through yum) . I did yum remove libvirt. Then I did ./configure --prefix = / , make , make install , ldconfig. When I enter virsh after finishing these steps, I get that error. I am not sure whether I am committing a mistake in-between. Please correct me if I am wrong. Thank you.<br>


<div><div></div><div class="h5">> --<br>
> Eric Blake   <a href="mailto:eblake@redhat.com">eblake@redhat.com</a>    +1-801-349-2682<br>
> Libvirt virtualization library <a href="http://libvirt.org" target="_blank">http://libvirt.org</a></div></div></blockquote><div><br></div><div>Thanks a lot for your time. </div><div><br></div><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1138">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px}
</style>


<p class="p1">-</p>
<p class="p1">Regards,</p>
<p class="p1">Sethuraman Subbiah</p>
<p class="p2"><br></p>
<p class="p1">Graduate Student - NC state University</p>
<div><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">M.S in Computer Science</span> </div></div><br>