From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: [PATCH] x86: fix guest wrmsr warning format Date: Tue, 15 Jun 2010 13:15:36 +0100 Message-ID: <4C178B0802000078000067DA@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartA588F3F8.1__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Christoph Egger List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartA588F3F8.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline During the recent MSR handling cleanup, the '0' format modifier got lost. Signed-off-by: Jan Beulich --- 2010-06-15.orig/xen/arch/x86/traps.c 2010-06-15 12:22:11.0000000= 00 +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=20 (eax !=3D (uint32_t)val) || (edx !=3D (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; } --=__PartA588F3F8.1__= Content-Type: text/plain; name="x86-wrmsr-warning.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="x86-wrmsr-warning.patch" During the recent MSR handling cleanup, the '0' format modifier got=0Alost.= =0A=0ASigned-off-by: Jan Beulich =0A=0A--- 2010-06-15.= orig/xen/arch/x86/traps.c 2010-06-15 12:22:11.000000000 +0200=0A+++ = 2010-06-15/xen/arch/x86/traps.c 2010-06-15 12:14:28.000000000 +0200=0A@@ = -2296,7 +2296,7 @@ static int emulate_privileged_op(struct =0A = (eax !=3D (uint32_t)val) || (edx !=3D (uint32_t)(val >> 32)) )=0A = invalid:=0A gdprintk(XENLOG_WARNING, "Domain attempted = WRMSR %p from "=0A- "0x%16"PRIx64" to 0x%16"PRIx64".= \n",=0A+ "0x%016"PRIx64" to 0x%016"PRIx64".\n",=0A = _p(regs->ecx), val, msr_content);=0A = break;=0A }=0A --=__PartA588F3F8.1__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__PartA588F3F8.1__=--