[libvirt] [PATCH v2] qemuProcessStart: Switch to flags instead of bunch booleans

2012-04-16 Thread Michal Privoznik
Currently, we have 3 boolean arguments we have to pass to qemuProcessStart(). As libvirt grows it is harder and harder to remember them and their position. Therefore we should switch to flags instead. --- diff to v1: -fix a test for START_PAUSED flag src/qemu/qemu_driver.c| 45

Re: [libvirt] [PATCH v2] qemuProcessStart: Switch to flags instead of bunch booleans

2012-04-16 Thread Daniel P. Berrange
On Mon, Apr 16, 2012 at 05:09:59PM +0200, Michal Privoznik wrote: Currently, we have 3 boolean arguments we have to pass to qemuProcessStart(). As libvirt grows it is harder and harder to remember them and their position. Therefore we should switch to flags instead. --- diff to v1: -fix a

Re: [libvirt] [PATCH v2] qemuProcessStart: Switch to flags instead of bunch booleans

2012-04-16 Thread Michal Privoznik
On 16.04.2012 17:26, Daniel P. Berrange wrote: On Mon, Apr 16, 2012 at 05:09:59PM +0200, Michal Privoznik wrote: Currently, we have 3 boolean arguments we have to pass to qemuProcessStart(). As libvirt grows it is harder and harder to remember them and their position. Therefore we should