Statistics
| Branch: | Revision:

root / HACKING @ 2a2af967

History | View | Annotate | Download (4.9 kB)

# Date Author Comment
f603a687 12/15/2011 05:27 pm Peter Maydell

HACKING: clarify allocation/free recommendations

Clarify the allocation/free recommendations; this is mostly
just tidying up following the global-search-and-replace done
with the conversion to the GLib g_malloc and friends.

Reviewed-by: Stefan Hajnoczi <>...

58a06675 08/21/2011 09:42 pm Blue Swirl

Convert last qemu_free and qemu_malloc uses

7267c0947d7e8ae5dff7bafd932c3bc285f43e5c missed
a few cases, fix them.

Signed-off-by: Blue Swirl <>

145e21db 08/21/2011 04:16 pm Anthony Liguori

Update HACKING to refer to g_malloc instead of qemu_malloc

Signed-off-by: Anthony Liguori <>

417131fb 02/26/2011 12:31 am Stefan Weil

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 linux
and windows hosts (including some cross compilations),
so chances are good that there remain few (if any) functions...

876f256b 09/10/2010 09:53 pm Blue Swirl

HACKING: add rules for printf-like functions

Add rules for printf-like functions, based on libvirt HACKING.

Signed-off-by: Blue Swirl <>

d241f143 09/10/2010 09:53 pm Blue Swirl

HACKING: add string management rules

Add string management rules, somewhat like libvirt HACKING.

Signed-off-by: Blue Swirl <>

54b2cc50 09/10/2010 09:52 pm Blue Swirl

HACKING: add memory management rules

Add memory management rules, somewhat like libvirt HACKING.

Signed-off-by: Blue Swirl <>

84174436 09/10/2010 09:47 pm Blue Swirl

HACKING: add C type rules

Add C type rules, adapted from libvirt HACKING. Also include
a description of special QEMU scalar types.

Move typedef rule from CODING_STYLE rule 3 to HACKING rule 6
where it belongs.

Signed-off-by: Blue Swirl <>

45fad878 09/10/2010 09:46 pm Blue Swirl

HACKING: add preprocessor rules

Add a new file, HACKING, in order to collect recurring
issues with submitted patches.

Start with preprocessor rules, adapted from libvirt HACKING.

Signed-off-by: Blue Swirl <>