diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2012-03-29 08:39:45 +1100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-04-15 17:07:19 +0200 |
commit | d9599c9205089805cd6ef55985beeb06aef0c819 (patch) | |
tree | 1ba69c910f5ecc71b15b56dbfb2cde8369c88c2d /hw/spapr.h | |
parent | 52d631dcc70144b6ce8293db78cd6de635331c83 (diff) | |
download | qemu-d9599c9205089805cd6ef55985beeb06aef0c819.zip qemu-d9599c9205089805cd6ef55985beeb06aef0c819.tar.gz qemu-d9599c9205089805cd6ef55985beeb06aef0c819.tar.bz2 |
pseries: Clean up hcall_dprintf() debugging messages
The pseries machine code has a number of debug messages for debugging PAPR
hypercalls, dependent on DEBUG_SPAPR_HCALLS. This patch cleans these
messages up a bit, by adding __func__ to the hcall_dprintf() macro and
simplifying up a number of the individual messages accordingly.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/spapr.h')
-rw-r--r-- | hw/spapr.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -272,7 +272,7 @@ extern sPAPREnvironment *spapr; #ifdef DEBUG_SPAPR_HCALLS #define hcall_dprintf(fmt, ...) \ - do { fprintf(stderr, fmt, ## __VA_ARGS__); } while (0) + do { fprintf(stderr, "%s: " fmt, __func__, ## __VA_ARGS__); } while (0) #else #define hcall_dprintf(fmt, ...) \ do { } while (0) |