• E
    snapshot: simplify indentation of sysinfo · 9a220665
    Eric Blake 提交于
    The improvements to virBuffer, along with a paradigm shift to pass
    the original buffer through rather than creating a second buffer,
    allow us to shave off quite a few lines of code.
    
    * src/util/sysinfo.h (virSysinfoFormat): Alter signature.
    * src/util/sysinfo.c (virSysinfoFormat, virSysinfoBIOSFormat)
    (virSysinfoSystemFormat, virSysinfoProcessorFormat)
    (virSysinfoMemoryFormat): Change indentation parameter.
    * src/conf/domain_conf.c (virDomainSysinfoDefFormat): Adjust
    caller.
    * src/qemu/qemu_driver.c (qemuGetSysinfo): Likewise.
    9a220665
qemu_driver.c 339.4 KB