Am 03.07.2012 21:19, schrieb Blue Swirl: > On Tue, Jul 3, 2012 at 10:07 AM, Kevin Wolf <kw...@redhat.com> wrote: >> Am 09.06.2012 14:12, schrieb Blue Swirl: >>> Move logging functions from exec.c to qemu-log.c, >>> compile it only once. >>> >>> Signed-off-by: Blue Swirl <blauwir...@gmail.com> >> >> This broke the TARGET_I386 specific logging options. > > Also DEBUG_IOPORT. Maybe the logger should be compiled for each > target, but that does not look attractive.
The options that I see are more or less: 1. Compile the file for each target 2. Move only cpu_log_items[] to a separately compiled file 3. Replace the #ifdef by a runtime check Kevin