Re: [libvirt] [PATCH] qemu: Fix double free when live-attaching shmem

2016-11-09 Thread Martin Kletzander
On Wed, Nov 09, 2016 at 05:55:34PM +0100, Pavel Hrdina wrote: On Wed, Nov 09, 2016 at 05:43:49PM +0100, Martin Kletzander wrote: Function qemuDomainAttachShmemDevice() steals the device data if the hotplug was successful, but the condition checked for unsuccessful execution otherwise.

Re: [libvirt] [PATCH] qemu: Fix double free when live-attaching shmem

2016-11-09 Thread Pavel Hrdina
On Wed, Nov 09, 2016 at 05:43:49PM +0100, Martin Kletzander wrote: > Function qemuDomainAttachShmemDevice() steals the device data if the > hotplug was successful, but the condition checked for unsuccessful > execution otherwise. > > Signed-off-by: Martin Kletzander > --- >

Re: [libvirt] [PATCH] qemu: Fix double free when live-attaching shmem

2016-11-09 Thread Michal Privoznik
On 09.11.2016 17:43, Martin Kletzander wrote: > Function qemuDomainAttachShmemDevice() steals the device data if the > hotplug was successful, but the condition checked for unsuccessful > execution otherwise. > > Signed-off-by: Martin Kletzander > --- >

[libvirt] [PATCH] qemu: Fix double free when live-attaching shmem

2016-11-09 Thread Martin Kletzander
Function qemuDomainAttachShmemDevice() steals the device data if the hotplug was successful, but the condition checked for unsuccessful execution otherwise. Signed-off-by: Martin Kletzander --- src/qemu/qemu_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)