* [PATCH] x86: fix guest wrmsr warning format
@ 2010-06-15 12:15 Jan Beulich
0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2010-06-15 12:15 UTC (permalink / raw)
To: xen-devel; +Cc: Christoph Egger
[-- Attachment #1: Type: text/plain, Size: 746 bytes --]
During the recent MSR handling cleanup, the '0' format modifier got
lost.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- 2010-06-15.orig/xen/arch/x86/traps.c 2010-06-15 12:22:11.000000000 +0200
+++ 2010-06-15/xen/arch/x86/traps.c 2010-06-15 12:14:28.000000000 +0200
@@ -2296,7 +2296,7 @@ static int emulate_privileged_op(struct
(eax != (uint32_t)val) || (edx != (uint32_t)(val >> 32)) )
invalid:
gdprintk(XENLOG_WARNING, "Domain attempted WRMSR %p from "
- "0x%16"PRIx64" to 0x%16"PRIx64".\n",
+ "0x%016"PRIx64" to 0x%016"PRIx64".\n",
_p(regs->ecx), val, msr_content);
break;
}
[-- Attachment #2: x86-wrmsr-warning.patch --]
[-- Type: text/plain, Size: 740 bytes --]
During the recent MSR handling cleanup, the '0' format modifier got
lost.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- 2010-06-15.orig/xen/arch/x86/traps.c 2010-06-15 12:22:11.000000000 +0200
+++ 2010-06-15/xen/arch/x86/traps.c 2010-06-15 12:14:28.000000000 +0200
@@ -2296,7 +2296,7 @@ static int emulate_privileged_op(struct
(eax != (uint32_t)val) || (edx != (uint32_t)(val >> 32)) )
invalid:
gdprintk(XENLOG_WARNING, "Domain attempted WRMSR %p from "
- "0x%16"PRIx64" to 0x%16"PRIx64".\n",
+ "0x%016"PRIx64" to 0x%016"PRIx64".\n",
_p(regs->ecx), val, msr_content);
break;
}
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-15 12:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-15 12:15 [PATCH] x86: fix guest wrmsr warning format Jan Beulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).