similar to: Where actually is the callback triggered?

Displaying 20 results from an estimated 200 matches similar to: "Where actually is the callback triggered?"

2011 Mar 14
1
Beware! Newbie is in town
Hello everyone, I'm working on Ubuntu 10.10, installed libvirt and created a project in Netbeans, I included jna.jar and libvirt-0.4.7.jar. And guess what, I get the exception below when I'm trying to run test.java which connects to test:///default. Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'virt': libvirt.so: cannot open shared
2018 Jan 19
2
Backup Solutions for GlusterFS
Hi, What is the backup solutions for glusterfs? Does glusterfs suppors any backup solutions. Sincerely,Kadir -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180119/07170244/attachment.html>
2014 Apr 01
3
set keep alive
Can anyone explain what is happening. After call virConnectOpen virEventRegisterDefaultImpl() call virConnectSetKeepAlive returns VirtError(1): internal error: the caller doesn't support keepalive protocol; perhaps it's missing event loop implementation, but the next call this sequence of commands returns success. Why virConnectSetKeepAlive not work right the first time? -- Fl at sh
2018 Jan 19
0
Backup Solutions for GlusterFS
Probably all file-level backups? ;) Rsync is the simplest option. Regards, Bartosz > On 19 Jan 2018, at 08:27, Kadir <qkadir at yahoo.com> wrote: > > Hi, > > What is the backup solutions for glusterfs? Does glusterfs suppors any backup solutions. > > Sincerely, > Kadir > _______________________________________________ > Gluster-users mailing list >
2020 Apr 02
1
can libvirt.so use jemalloc to manage mem ?
HI, all My daemon exists a libvirt API call: virEventRegisterDefaultImpl(); once I called the virEventRegisterDefaultImpl() ,must be core ,the bt stack is: (gdb) bt #0 free (ptr=0x1) at include/jemalloc/internal/arena.h:652 #1 0x00007f57690a488a in virFree () from /lib64/libvirt.so.0 #2 0x00007f57690c3562 in virResetError () from /lib64/libvirt.so.0 #3 0x00007f57690c49ad in
2011 Mar 29
1
Event Types Libvirt can handle
Hello all, I'm trying to observe access events of guest VMs. However, as far as I understand event types in libvirt are really generic, like domain defined/undefined, started/stopped, etc. Isn't there any specific event types that libvirt can handle (like access to a disk), or I'm missing them? Thanks in advance Kind regards Kadir -------------- next part -------------- An HTML
2013 Oct 14
2
Re: event handler
Michal Privoznik писал 2013-10-14 08:48: > On 14.10.2013 02:42, Alexandr wrote: >> good day to all. >> i still have not solved my problem with event handling. >> currently i have following code >> >> >> void libvirt_eventloop_thr_func() >> { >> while(true) //TODO: stop somehow on exit >> { >>
2017 Oct 17
2
virConnectIsAlive
Hi In my program , When libvirtd restart , the old libvirtd connection(virConnectPtr) has to reconnect, Before usr old virConnectPtr , I call virConnectIsAlive. but when I restart libvirtd , virConnectIsAlive return 1, and I continue other operate use the old virConnectPtr, program will receive signal pipe. I use libvirt event. before any api use, I call virEventRegisterDefaultImpl, and
2013 Oct 14
2
event handler
good day to all. i still have not solved my problem with event handling. currently i have following code void libvirt_eventloop_thr_func() { while(true) //TODO: stop somehow on exit { if(virEventRunDefaultImpl() < 0) { virErrorPtr err = virGetLastError(); fprintf(stderr, "Failed to run event loop: %s\n", err && err->message ? err->message : "Unknown
2013 Oct 14
2
Re: event handler
Michal Privoznik писал 2013-10-14 11:39: > On 14.10.2013 10:33, Alexandr wrote: >> Michal Privoznik писал 2013-10-14 08:48: >>> On 14.10.2013 02:42, Alexandr wrote: >>>> good day to all. >>>> i still have not solved my problem with event handling. >>>> currently i have following code >>>> >>>> >>>> void
2012 Mar 09
1
run virsh as non-root user
Hi, I have encountered problem running virsh as non-root user. I am using eucalyptus software on top of KVM, eucalyptus requires to run virsh as non-root user. I've found that people had similiar issue posted in the list, but I didn't find the solution. I've tried few things. 1) put user eucalyptus in the libvirt group. 2) even changed owner /var/run/libvirt/libvirt-sock to
2011 Mar 16
1
With which VMM ,libvirt cooperates the most?
Hi all, I'm trying to develop some applications that communicate with VMM about guest OSs. Libvirt has drivers for many VMMs like Qemu, Vbox, etc. I'm currently using Vbox and time to time I get the error that says "this function is not supported by the connection driver". So, for which VMM, libvirt has the most compatible driver, regarding your experiences? Kind regards Kadir
2017 May 16
2
Duplicate reboot events
Hi, Running on: $ cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core) And: $ rpm -qa |grep libvirt libvirt-daemon-2.0.0-10.el7_3.5.x86_64 libvirt-daemon-driver-qemu-2.0.0-10.el7_3.5.x86_64 libvirt-daemon-driver-secret-2.0.0-10.el7_3.5.x86_64 libvirt-client-2.0.0-10.el7_3.5.x86_64 libvirt-daemon-driver-network-2.0.0-10.el7_3.5.x86_64
2011 Mar 21
1
About monitoring
Hello all, As I've been exporing libvirt api, I've seen event registerers, and types of events are defined, undefined, and you know the rest. Is it all for event types? Any ideas about how to look for a device access event, for example? Kind regards -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 Aug 22
1
Re: virConnectDomainEventRegisterAny problem
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 21.08.2013 12:58, Alexandr пишет: > 21.08.2013 12:39, Daniel P. Berrange пишет: >> On Wed, Aug 21, 2013 at 12:36:06PM +0300, Alexandr wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>> >>> 21.08.2013 09:46, Alexandr пишет: >>>> 21.08.2013 09:32, Martin Kletzander пишет: >>>>> On
2010 Sep 09
1
Remote access form windows - Java bindings
Hi I am developing tool to collect information on XenServer which is on Opensuse 11. I am using libvirt-0.4.6.jar and and jna-3.2.4 jar files. I tried to connect from Remote system(Windows) to server, but could not get the connection object. Any configuration needs to be done for remote access ? conn = new Connect("xen+tcp://192.168.10.22/"); it shows the exception Exception in
2008 Jan 23
6
JRuby and callbacks?
Hi all, Any Java/JRuby folks on the list? I''d like to see if we can implement api.c for JRuby using JNA and see how it handles the callbacks. I''m not a Java guy, nor do I know JNA, but I''ll take a stab at it if no one else on the list does. Here are a couple of useful links: http://www.infoq.com/news/2007/09/jna-jruby https://jna.dev.java.net/ Regards, Dan This
2013 Aug 21
2
Re: virConnectDomainEventRegisterAny problem
On Wed, Aug 21, 2013 at 12:36:06PM +0300, Alexandr wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > 21.08.2013 09:46, Alexandr пишет: > > 21.08.2013 09:32, Martin Kletzander пишет: > >> On Wed 21 Aug 2013 01:03:37 AM CEST, Alexandr wrote: > >>> > >>> good day. i trying to make callback function for > >>>
2013 Apr 29
1
Java client error on Windows 7 64 bit for Libvirt on KVM
Hi, I need some help in building a Java client on Windows 7 64 bit plaftorm to manage a KVM using the libvirt APIs. Using the instructions at http://libvirt.org/java.html, i was able to build libvirt.jar. My understanding is that libvirt.jar uses JNA to call libvirt's native windows library. I tried using the libvirt dlls in the experimental Windows installation package mentioned in
2010 Jun 17
1
java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/linux-i386/libjnidispatch.so) not found in resource path
Hi everybody, I'm trying to run the sample of the site, but is not working. In fact, already includes jna.jar in my class path, see. What can it be? -- Rafael Braga -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20100617/5c8e1120/attachment.htm> -------------- next part -------------- A