I figured out that poolObject.create(0) can start the storage pool. Is there a way to automatically create the folder, if the folder does not exist while defining a pool?<div>for example, if i do pool-define myPool.xml, how can I make it create the folder if the target path does not exist? Is it necessary that the path specified in the xml should exist already?<br>
<div><br></div><div>Regards</div><div>Ananth<br><br><div class="gmail_quote">On Thu, Jun 28, 2012 at 7:32 PM, Ananth <span dir="ltr"><<a href="mailto:cbananth@gmail.com" target="_blank">cbananth@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br clear="all"><div>Hi what is the libvirt API call to start an inactive storage pool created using the python binding storagePoolDefineXML() ? </div>
<div>There seems to be a  virsh command which is pool-start <pool-name>, but I am not sure what would be the call to start it. Or is there a way to start the pool while it is being defined itself?</div>
<div>The autostart will be effective only when libvirtd service is restarted?</div><div><br></div><div><br></div><div>Thank you</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br>Regards<br>Ananth<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards<br>Ananth<br>
</div></div>