<br><tt><font size=2>libvir-list-bounces@redhat.com wrote on 03/23/2010
08:12:57 AM:<br>
<br>
</font></tt>
<br><tt><font size=2>> <br>
> Please respond to "Daniel P. Berrange"</font></tt>
<br><tt><font size=2>> <br>
<br>
> > <br>
> > This is a new kind of API in libvirt(d) so I'm submitting this
for<br>
> > review. There could be some challenging issues, for example naming<br>
> > i.e. is the object "external" name like 'foo' the right
thing to pass<br>
> > or should we also provide the uuid, making sure the arguments
for the<br>
> > scripts and the behaviour is generic enough, and also how to
handle<br>
> > potential recursion and avoid deadlock if the events script happen
to<br>
> > use libvirt.<br>
> <br>
> You have to mandate that synchronous hooks never call back into libvirt,<br>
> allowing them todo so will be unfeasible.</font></tt>
<br>
<br><tt><font size=2>Right. Since libvirt maintains all information about
a VM the 'temptation' may be there to 'need' to pull information about
the VM from within that script. I guess deadlocks would be typical.</font></tt>
<br>
<br><tt><font size=2>   Stefan</font></tt>
<br>
<br><tt><font size=2><br>
> <br>
> Daniel<br>
> -- <br>
> |: Red Hat, Engineering, London    -o-   </font></tt><a href=http://people.redhat.com/berrange/:|><tt><font size=2>http://people.redhat.com/berrange/:|</font></tt></a><tt><font size=2><br>
> |: </font></tt><a href=http://libvirt.org/><tt><font size=2>http://libvirt.org</font></tt></a><tt><font size=2>
-o- </font></tt><a href="http://virt-manager.org/"><tt><font size=2>http://virt-manager.org</font></tt></a><tt><font size=2>
-o- </font></tt><a href=http://deltacloud.org:|/><tt><font size=2>http://deltacloud.org:|</font></tt></a><tt><font size=2><br>
> |: </font></tt><a href=http://autobuild.org/><tt><font size=2>http://autobuild.org</font></tt></a><tt><font size=2>
       -o-         </font></tt><a href=http://search.cpan.org/~danberr/:|><tt><font size=2>http://search.cpan.org/~danberr/:|</font></tt></a><tt><font size=2><br>
> |: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1
B3DF F742 7D3B 9505 :|<br>
> <br>
> --<br>
> libvir-list mailing list<br>
> libvir-list@redhat.com<br>
> </font></tt><a href="https://www.redhat.com/mailman/listinfo/libvir-list"><tt><font size=2>https://www.redhat.com/mailman/listinfo/libvir-list</font></tt></a><tt><font size=2><br>
</font></tt>