files/mc-plugins/agent/libvirt.rb
# This is a convenience wrapper around opening and closing the connection to
# libvirt.
This is a convenience wrapper around opening and closing the connection to
libvirt.
This is a convenience wrapper around opening and closing the connection to libvirt .
def libvirt_transaction(uri = "qemu:///system")
        conn = ::Libvirt::open(uri)
        yield conn
        conn.close
      end
def libvirt_transaction ( uri = "qemu:///system" ) conn = :: Libvirt :: open ( uri ) yield conn conn . close end
This is a convenience wrapper around opening and closing the connection to
libvirt.
This is a convenience wrapper around opening and closing the connection to libvirt .
uri