From: "Jan Beulich" <JBeulich@novell.com>
To: xen-devel@lists.xensource.com
Cc: Christoph Egger <Christoph.Egger@amd.com>
Subject: [PATCH] x86: fix guest wrmsr warning format
Date: Tue, 15 Jun 2010 13:15:36 +0100 [thread overview]
Message-ID: <4C178B0802000078000067DA@vpn.id2.novell.com> (raw)
[-- 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
reply other threads:[~2010-06-15 12:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C178B0802000078000067DA@vpn.id2.novell.com \
--to=jbeulich@novell.com \
--cc=Christoph.Egger@amd.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).