Daniel, Is the Migrate event supported by Xen? Regards, Pete ----- "Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote: > On Mon, Jan 11, 2010 at 12:52:26AM +0000, pspreadborough@xxxxxxxxxxx > wrote: > > > > I tried the python version and did have some success, but not 100% > since I didn't > > see events for pausing the VM: > > Pause/resume events are not available for Xen, since it provides no > way > to get notified of them. THe other events stop/start/define/undefine > are > available for Xen. The QEMU/LXC drivers support all events. > > > > > [root@Spring events-python]# python event-test.py xen:/// > > Using uri:xen:/// > > > > myDomainEventCallback2 EVENT: Domain vm-full-1(1) Started 0 > > myDomainEventCallback1 EVENT: Domain vm-full-1(1) Started 0 > > > > I noticed that the the C version looks in one place for the libvirt > socket and the > > python version in a different place, I don't know if this is > significant or not? > > I tweaked the /etc/libvirt/libvirtd.conf file to alter the location. > > > > > C: /usr/local/var/run/libvirt > > That looks like you have built your own custom libvirt binary with > the > default install prefix. If you do a custom build and want it to > interoperate with the installed system version, thenm make sure to > pass > > --prefix=/usr --sysconfdir=/etc --localstatedir=/var > > to the ./configure script > > > Regards, > Daniel > -- > |: Red Hat, Engineering, London -o- > http://people.redhat.com/berrange/ :| > |: http://libvirt.org -o- http://virt-manager.org -o- > http://ovirt.org :| > |: http://autobuild.org -o- > http://search.cpan.org/~danberr/ :| > |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B > 9505 :| -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list