Re: [libvirt] [PATCH 1/4] qemu: Check if virQEMUCapsNewCopy(...) has failed

2017-02-09 Thread Laine Stump
On 02/09/2017 09:13 AM, Marc Hartmayer wrote: Check if virQEMUCapsNewCopy(...) has failed, thus a segmentation fault in virQEMUCapsFilterByMachineType(...) will be avoided. Signed-off-by: Marc Hartmayer Reviewed-by: Bjoern Walk --- src/qemu/qemu_capabilities.c | 4 1 file changed, 4 in

[libvirt] [PATCH 1/4] qemu: Check if virQEMUCapsNewCopy(...) has failed

2017-02-09 Thread Marc Hartmayer
Check if virQEMUCapsNewCopy(...) has failed, thus a segmentation fault in virQEMUCapsFilterByMachineType(...) will be avoided. Signed-off-by: Marc Hartmayer Reviewed-by: Bjoern Walk --- src/qemu/qemu_capabilities.c | 4 1 file changed, 4 insertions(+) diff --git a/src/qemu/qemu_capabiliti

Re: [libvirt] [PATCH 1/4] qemu: Check if virQEMUCapsNewCopy(...) has failed

2017-02-09 Thread Marc Hartmayer
On Thu, Feb 09, 2017 at 03:13 PM +0100, Marc Hartmayer wrote: > Check if virQEMUCapsNewCopy(...) has failed, thus a segmentation fault > in virQEMUCapsFilterByMachineType(...) will be avoided. > > Signed-off-by: Marc Hartmayer > Reviewed-by: Bjoern Walk > --- > src/qemu/qemu_capabilities.c | 4