Re: [libvirt-users] Callback re-registration after libvirtd restart

2017-05-17 Thread Daniel Kučera
> > Okay, with qemu:///session I'm getting CloseCallback but now I'm not > getting LifecycleCallback :( > > S pozdravom / Best regards > Daniel Kucera. > Okay, I take it back. It works. S pozdravom / Best regards Daniel Kucera. ___ libvirt-users mailing

Re: [libvirt-users] Callback re-registration after libvirtd restart

2017-05-17 Thread Daniel Kučera
2017-05-17 15:52 GMT+02:00 Daniel P. Berrange : > On Wed, May 17, 2017 at 03:49:45PM +0200, Daniel Kučera wrote: > > No, I'm not, I'm calling it sooner: > > > > func libvirt_start() { > > libvirt.EventRegisterDefaultImpl() > > event_li

Re: [libvirt-users] Callback re-registration after libvirtd restart

2017-05-17 Thread Daniel Kučera
No, I'm not, I'm calling it sooner: func libvirt_start() { libvirt.EventRegisterDefaultImpl() event_listen() } S pozdravom / Best regards Daniel Kucera. 2017-05-17 15:47 GMT+02:00 Daniel P. Berrange : > On Wed, May 17, 2017 at 03:41:09PM +0200, Daniel Kučera

Re: [libvirt-users] Callback re-registration after libvirtd restart

2017-05-17 Thread Daniel Kučera
l=interrupt) close callback: 0 but not when I restart libvirtd. I tried using both local and remote connect URIs: qemu+ssh://10.130.16.101/system, qemu+ssh://localhost/system, qemu+ssh:///system Thanks. D. 2017-05-17 15:24 GMT+02:00 Daniel P. Berrange : > On Wed, May 17, 2017 at 03:08:23PM

[libvirt-users] Callback re-registration after libvirtd restart

2017-05-17 Thread Daniel Kučera
Hi all, I'm using libvirt-go and I following code to listen for lifecycle events: func event_listen() { log.Printf("event_listen %s", conf.Libvirt.LocalUrl) hv, err := libvirt.NewConnect(conf.Libvirt.LocalUrl) lifecycleCallback := func(c *libvirt.Connect, d *libvirt.Domain, event *li

Re: [libvirt-users] Live migration with non-shared ZFS volume

2017-04-28 Thread Daniel Kučera
at 12:04:42PM +0200, Daniel Kučera wrote: > >> Hi all, >> >> > Hi, > > I caught your mail in my Spam folder for some reason, maybe the same > happened for others. I don't have that deep knowledge of the snapshots, > but I'm replying so that if someone else

[libvirt-users] Live migration with non-shared ZFS volume

2017-04-04 Thread Daniel Kučera
Hi all, I'm using ZFS on Linux block volumes as my VM storage and want to do live migrations between hypervisors. If I create ZFS snapshot of used volume on source host, send it do destination host (zfs send/recv) and then run live migration with VIR_MIGRATE_NON_SHARED_DISK flag, the migration wo