Re: [libvirt] [PATCH] qemu: update disk chain in vm->newDef when block job compeleted

2014-12-02 Thread Peter Krempa
On 11/10/14 05:15, weiwei li wrote: > A bug will be hitted with libvirt+qemu+kvm when doing follow steps: > 1.initial status :vm = base+z(z is a snapshot) > 2. call snapshotCreateXML( ): vm = base+z +z' > 3. call blockRebase( ): vm = base+z''(z rebase to z') > 4.(after rebasing work done) vm shutd

Re: [libvirt] [PATCH] qemu: update disk chain in vm->newDef when block job compeleted

2014-12-02 Thread Peter Krempa
On 12/02/14 17:05, Peter Krempa wrote: > On 11/10/14 05:15, weiwei li wrote: >> A bug will be hitted with libvirt+qemu+kvm when doing follow steps: >> 1.initial status :vm = base+z(z is a snapshot) >> 2. call snapshotCreateXML( ): vm = base+z +z' >> 3. call blockRebase( ): vm = base+z''(z rebase t

[libvirt] [PATCH] qemu: update disk chain in vm->newDef when block job compeleted

2014-11-09 Thread weiwei li
A bug will be hitted with libvirt+qemu+kvm when doing follow steps: 1.initial status :vm = base+z(z is a snapshot) 2. call snapshotCreateXML( ): vm = base+z +z' 3. call blockRebase( ): vm = base+z''(z rebase to z') 4.(after rebasing work done) vm shutdown and then start an error occured like this