Re: [libvirt] [Block Replication] Question about supporting COLO in libvirt

2017-02-08 Thread Hailiang Zhang
On 2017/2/6 20:39, Daniel P. Berrange wrote: On Mon, Feb 06, 2017 at 08:34:28PM +0800, Hailiang Zhang wrote: Hi, I'm trying to implement supporting COLO in libvirt, But i found an annoying problem that libvirt does not support the command line option argument syntax we used for block

[libvirt] [Block Replication] Question about supporting COLO in libvirt

2017-02-06 Thread Hailiang Zhang
Hi, I'm trying to implement supporting COLO in libvirt, But i found an annoying problem that libvirt does not support the command line option argument syntax we used for block replication in QEMU. That is libvirt does not support the bellow syntax for block: -drive

[libvirt] [ libvirt-python BUG ?] Memory leak in libvirt_virConnectDomainEventJobCompletedCallback

2017-01-17 Thread Hailiang Zhang
Hi all, It seems that, there is a memory leak bug in libvirt_virConnectDomainEventJobCompletedCallback() function of libvirt-override.c. We didn't decrease the reference of 'pyobj_dict' in this function or any other places while pyt0bj_ret is not zero.

[libvirt] [BUG?] qemu was accidently killed by libvirtd after we restart libvirtd by service command

2015-12-17 Thread Hailiang Zhang
Hi all, We came across a problem, qemu was accidently killed by libvirtd after we restart libvirtd by service command. Steps to reproduce: 1) Attach net device to VM by 'virsh attach-device' command 2) Detach the net device that added before by 'virsh detach-device' command 3) Do the above two