<div dir="ltr">Hi Claudio,<div><br></div><div>Thanks, its working.</div><div><br></div><div>Br.</div><div><br></div><div>Umar</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 17, 2013 at 2:45 PM, Claudio Bley <span dir="ltr"><<a href="mailto:cbley@av-test.de" target="_blank">cbley@av-test.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">[Repeat: please, don't top post on technical lists.]<br>
<br>
At Thu, 17 Oct 2013 14:26:33 +0500,<br>
<div class="im">Umar Draz wrote:<br>
><br>
> Here is the php_error_logs<br>
> --------------------------<br>
</div>> *[17-Oct-2013 05:17:42 America/New_York] PHP Notice:  Use of undefined<br>
<div class="im">> constant VIR_MIGRATE_UNSAFE - assumed 'VIR_MIGRATE_UNSAFE' in<br>
</div>> /home/www/virtspace/inc/mig.php on line 21*<br>
> *[17-Oct-2013 05:17:42 America/New_York] PHP Notice:  Use of undefined<br>
<div class="im">> constant VIR_MIGRATE_OFFLINE - assumed 'VIR_MIGRATE_OFFLINE' in<br>
</div>> /home/www/virtspace/inc/mig.php on line 21*<br>
<div class="im">><br>
> According to above php_notices, both VIR_OFFLINE AND VIR_UNSAFE options are<br>
> not available.<br>
<br>
</div>Indeed, looking at the libvirt-php code<br>
(<a href="http://libvirt.org/git/?p=libvirt-php.git;a=blob;f=src/libvirt-php.c;h=a149662272016e946d53f4589722d090ceccdbcf;hb=HEAD" target="_blank">http://libvirt.org/git/?p=libvirt-php.git;a=blob;f=src/libvirt-php.c;h=a149662272016e946d53f4589722d090ceccdbcf;hb=HEAD</a>),<br>

these constants are not defined yet. The wrapper is lacking the<br>
following constants, which you can easily define yourself in your PHP<br>
script:<br>
<br>
VIR_MIGRATE_CHANGE_PROTECTION    =      256<br>
VIR_MIGRATE_UNSAFE       =      512<br>
VIR_MIGRATE_OFFLINE      =      1024<br>
VIR_MIGRATE_COMPRESSED   =     2048<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Claudio<br>
</font></span><div class="HOEnZb"><div class="h5">--<br>
AV-Test GmbH, Henricistraße 20, 04155 Leipzig, Germany<br>
Phone: <a href="tel:%2B49%20341%20265%20310%2019" value="+4934126531019">+49 341 265 310 19</a><br>
Web:<<a href="http://www.av-test.org" target="_blank">http://www.av-test.org</a>><br>
<br>
Eingetragen am / Registered at: Amtsgericht Stendal (HRB 114076)<br>
Geschaeftsfuehrer (CEO): Andreas Marx, Guido Habicht, Maik Morgenstern<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Umar Draz<br>Network Architect
</div>