Re: [libvirt] [PATCH v2 08/10] qemu: Fix integer/boolean logic in qemuSetUnprivSGIO

2015-07-07 Thread Peter Krempa
On Mon, Jul 06, 2015 at 13:08:36 -0400, John Ferlan wrote: > Setting of 'val' is a boolean expression, so handle it that way and > adjust the check/return logic to be clearer > > Signed-off-by: John Ferlan > --- > src/qemu/qemu_conf.c | 10 +++--- > 1 file changed, 7 insertions(+), 3 deletio

[libvirt] [PATCH v2 08/10] qemu: Fix integer/boolean logic in qemuSetUnprivSGIO

2015-07-06 Thread John Ferlan
Setting of 'val' is a boolean expression, so handle it that way and adjust the check/return logic to be clearer Signed-off-by: John Ferlan --- src/qemu/qemu_conf.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c index 5eb