Statistics
| Branch: | Revision:

root / CODING_STYLE @ feature-archipelago

History | View | Annotate | Download (3.1 kB)

# Date Author Comment
6576b74b 04/07/2012 04:58 pm Stefan Weil

Replace Qemu by QEMU in internal documentation

The official spelling is QEMU.

Signed-off-by: Stefan Weil <>
Reviewed-by: Andreas Färber <>
Signed-off-by: Blue Swirl <>

e3c52bf2 02/10/2012 12:44 pm Peter Maydell

CODING_STYLE: Clarify style for enum and function type names

Clarify that enum type names and function type names should follow
the CamelCase style used for structured type names.

Signed-off-by: Peter Maydell <>
Signed-off-by: Stefan Hajnoczi <>

5f070c5f 07/29/2011 05:33 pm Avi Kivity

CODING_STYLE: explicitly allow braceless 'else if'

It's already allowed by the example; there are about 1800 instances in the
tree; and disallowing it would lead to

if (a) {
...
} else {
if (b) {
...
} else {
if (c) {...
b6469683 01/20/2011 10:58 pm Blue Swirl

checkpatch: adjust to QEMUisms

Change checkpatch.pl 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
being.

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://svn.savannah.nongnu.org/qemu/trunk@7014 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 <>...