Re: [libvirt] [PATCH 1/6] virNetDevMacVLanCreateWithVPortProfile: Turn vnet_hdr into flag

2015-12-07 Thread Michal Privoznik
On 04.12.2015 16:41, Laine Stump wrote: > On 12/04/2015 07:30 AM, Michal Privoznik wrote: >> So yet again one of integer arguments that we use as a boolean. >> Since the argument count of the function is unbearably long >> enough, lets turn those booleans into flags. >> >> Signed-off-by: Michal

Re: [libvirt] [PATCH 1/6] virNetDevMacVLanCreateWithVPortProfile: Turn vnet_hdr into flag

2015-12-04 Thread Laine Stump
On 12/04/2015 07:30 AM, Michal Privoznik wrote: So yet again one of integer arguments that we use as a boolean. Since the argument count of the function is unbearably long enough, lets turn those booleans into flags. Signed-off-by: Michal Privoznik ---

[libvirt] [PATCH 1/6] virNetDevMacVLanCreateWithVPortProfile: Turn vnet_hdr into flag

2015-12-04 Thread Michal Privoznik
So yet again one of integer arguments that we use as a boolean. Since the argument count of the function is unbearably long enough, lets turn those booleans into flags. Signed-off-by: Michal Privoznik --- src/lxc/lxc_process.c | 2 +- src/qemu/qemu_command.c | 5