Re: [Qemu-devel] [PATCH 1/2] target-i386: Simplify listflags() function

2015-02-06 Thread Paolo Bonzini
On 03/02/2015 19:08, Eduardo Habkost wrote: > listflags() had lots of unnecessary complexity. Instead of printing to a > buffer that will be immediately printed, simply call the printing > function directly. Also, remove the fbits and flags arguments that were > always set to the same value. Also

[Qemu-devel] [PATCH 1/2] target-i386: Simplify listflags() function

2015-02-03 Thread Eduardo Habkost
listflags() had lots of unnecessary complexity. Instead of printing to a buffer that will be immediately printed, simply call the printing function directly. Also, remove the fbits and flags arguments that were always set to the same value. Also, there's no need to list the flags in reverse order.