History | View | Annotate | Download (4.7 kB)
Convert last qemu_free and qemu_malloc uses
7267c0947d7e8ae5dff7bafd932c3bc285f43e5c misseda few cases, fix them.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Update HACKING to refer to g_malloc instead of qemu_malloc
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
HACKING: Update status of format checking
Hopefully all functions with printf like arguments now use format checking.
This was tested with default build configuration on linuxand windows hosts (including some cross compilations),so chances are good that there remain few (if any) functions...
HACKING: add rules for printf-like functions
Add rules for printf-like functions, based on libvirt HACKING.
HACKING: add string management rules
Add string management rules, somewhat like libvirt HACKING.
HACKING: add memory management rules
Add memory management rules, somewhat like libvirt HACKING.
HACKING: add C type rules
Add C type rules, adapted from libvirt HACKING. Also includea description of special QEMU scalar types.
Move typedef rule from CODING_STYLE rule 3 to HACKING rule 6where it belongs.
HACKING: add preprocessor rules
Add a new file, HACKING, in order to collect recurringissues with submitted patches.
Start with preprocessor rules, adapted from libvirt HACKING.