Sys::Virt

Marc Lehmann schmorp at schmorp.de
Wed Nov 13 04:12:41 CET 2013


On Tue, Nov 12, 2013 at 10:34:06AM -0700, Glen <glen at betterservers.com> wrote:
> Has any work been done to integrate Sys::Virt (perl access to libvirt) with AnyEvent?

I don't see why it wouldn't work out of the box (it shouldn't be
incompatible). If you mean that some requests block for a long time, and
judging from the Sys::Virt documentation, that's just how it is (there are
no provisions for event based programming in Sys::Virt).

If thats an issue, you could try to run your Sys::Virt client in e.g. an
AnyEvent::Fork::RPC coprocess.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the anyevent mailing list