Re: [PATCH 2/3] util: use new virendian.h macros

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

 



On 02/11/2013 07:07 PM, Eric Blake wrote:
> This makes code easier to read, by avoiding lines longer than
> 80 columns and removing the repetition from the callers.
> 
> * src/util/virstoragefile.c (qedGetHeaderUL, qedGetHeaderULL):
> Delete in favor of more generic macros.
> (qcow2GetBackingStoreFormat, qcowXGetBackingStore)
> (qedGetBackingStore, virStorageFileMatchesVersion)
> (virStorageFileGetMetadataInternal): Use new macros.
> * src/cpu/cpu_x86.c (x86VendorLoad): Likewise.
> ---
>  src/cpu/cpu_x86.c         |  24 ++++------
>  src/util/virstoragefile.c | 109 ++++++++++------------------------------------
>  2 files changed, 30 insertions(+), 103 deletions(-)
> 

ACK

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