Re: [PATCHv2 05/27] util: reject unknown flags, and prefer unsigned flags

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

 



2011/7/8 Eric Blake <eblake@xxxxxxxxxx>:
> Silently ignored flags get in the way of new features that
> use those flags.  Also, an upcoming syntax check will favor
> unsigned flags.
>
> * src/nodeinfo.h (nodeGetCPUStats, nodeGetMemoryStats): Drop
> unused attribute.
> * src/interface/netcf_driver.c (interfaceOpenInterface)
> (interfaceDefineXML, interfaceCreate, interfaceDestroy): Reject
> unknown flags.
> * src/network/bridge_driver.c (networkOpenNetwork)
> (networkGetXMLDesc): Likewise.
> * src/nwfilter/nwfilter_driver.c (nwfilterOpen): Likewise.
> * src/secret/secret_driver.c (secretOpen, secretDefineXML)
> (secretGetXMLDesc, secretSetValue): Likewise.
> * src/util/logging.c (virLogDefineFilter, virLogDefineOutput)
> (virLogMessage): Likewise; also use unsigned flags.
> * src/util/logging.h (virLogDefineFilter, virLogDefineOutput)
> (virLogMessage): Change signature.
> * src/util/command.c (virExecWithHook): Likewise.
> ---

ACK.

-- 
Matthias Bolte
http://photron.blogspot.com

--
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]