Re: [libvirt] [PATCH v3 02/17] qemuBuildMemoryBackendStr: Check for @memAccess properly

2017-03-14 Thread John Ferlan
On 03/09/2017 11:06 AM, Michal Privoznik wrote: > Even though this variable contains just values from an enum where > zero has the usual meaning, it's enum after all and we should > check it as such. > > Signed-off-by: Michal Privoznik > --- > src/qemu/qemu_command.c | 3

[libvirt] [PATCH v3 02/17] qemuBuildMemoryBackendStr: Check for @memAccess properly

2017-03-09 Thread Michal Privoznik
Even though this variable contains just values from an enum where zero has the usual meaning, it's enum after all and we should check it as such. Signed-off-by: Michal Privoznik --- src/qemu/qemu_command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git