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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
>> switch to flags instead.
>> ---
>> diff to v1:
>> -fix a test for START_PAUSED flag
>>
>>  src/qemu/qemu_driver.c    |   45 +++++++++++++++++++++++++++++----------------
>>  src/qemu/qemu_migration.c |    7 ++++---
>>  src/qemu/qemu_process.c   |   21 +++++++++++++--------
>>  src/qemu/qemu_process.h   |   12 ++++++++----
>>  4 files changed, 54 insertions(+), 31 deletions(-)
>>

> 
> 
> ACK, that's better now
> 
> 
> Daniel

Thanks, pushed.

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]