From: "Jan Beulich" Subject: [PATCH] x86/hvm: fix copy-and-paste mistakes Date: Tue, 22 Apr 2008 14:03:00 +0100 Message-ID: <480DFE24.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline 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 List-Id: xen-devel@lists.xenproject.org Signed-off-by: Jan Beulich Index: 2008-04-15/xen/arch/x86/hvm/hvm.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 2008-04-15.orig/xen/arch/x86/hvm/hvm.c 2008-04-15 08:48:12.0000000= 00 +0200 +++ 2008-04-15/xen/arch/x86/hvm/hvm.c 2008-04-16 09:41:21.000000000 = +0200 @@ -494,14 +494,14 @@ static int hvm_load_cpu_ctxt(struct doma ((ctxt.cr0 & (X86_CR0_PE|X86_CR0_PG)) =3D=3D X86_CR0_PG) ) { gdprintk(XENLOG_ERR, "HVM restore: bad CR0 0x%"PRIx64"\n", - ctxt.msr_efer); + ctxt.cr0); return -EINVAL; } =20 if ( ctxt.cr4 & HVM_CR4_GUEST_RESERVED_BITS ) { gdprintk(XENLOG_ERR, "HVM restore: bad CR4 0x%"PRIx64"\n", - ctxt.msr_efer); + ctxt.cr4); return -EINVAL; } =20