| Branch: | Revision:

root / CODING_STYLE @ a74cdab4

History | View | Annotate | Download (2.9 kB)

# Date Author Comment
b6469683 01/20/2011 10:58 pm Blue Swirl

checkpatch: adjust to QEMUisms

Change for QEMU use:
- Root directory detection
- Forbid tabs
- Indent at 4 spaces
- Allow typedefs
- Enforce brace use even for single statement blocks
- Don't suggest nonexistent cleanup tools

Mention the script in CODING_STYLE....

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

77ac4862 03/19/2010 10:27 pm Avi Kivity

CODING_STYLE: Reserve qemu_ prefix for library wrappers

Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

c227f099 10/02/2009 12:12 am Anthony Liguori

Revert "Get rid of _t suffix"

In the very least, a change like this requires discussion on the list.

The naming convention is goofy and it causes a massive merge problem. Something
like this must be presented on the list first so people can provide input...

99a0949b 10/01/2009 09:45 pm malc

Get rid of _t suffix

Some not so obvious bits, slirp and Xen were left alone for the time

Signed-off-by: malc <>

1cb499fa 04/07/2009 05:10 am edgar_igl

Remove potentially offensive humor.

Signed-off-by: Edgar E. Iglesias <>

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162

e68b98dc 04/05/2009 08:40 pm aliguori

Document QEMU coding style (v2) (Avi Kivity)

With the help of some Limoncino I noted several aspects of the QEMU coding
style, particularly where it differs from the Linux coding style as many
contributors work on both projects.

Signed-off-by: Avi Kivity <>...