On 08/02/2015 13:14, Borislav Petkov wrote: > On Sun, Feb 08, 2015 at 11:09:24AM +0100, Paolo Bonzini wrote: >> Cc: qemu-triv...@nongnu.org > > Thanks. > > But, there's more b0rked with this error message so you might wanna take > the patch below instead. > > Btw, what are the vim settings when doing patches for qemu, this must be > documented somewhere as coding style differs significantly from that of > the kernel?
I use ":set shiftwidth=4 expandtab" and c-indent mode. Quick googling for "vim four spaces" suggests the following alternatives: * ":set tabstop=8 expandtab shiftwidth=4 softtabstop=4" * "set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab". Paolo