From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yang, Sheng" Subject: [PATCH] KVM: VMX: Fix invalid opcode of VPID Date: Tue, 29 Jan 2008 16:41:55 +0800 Message-ID: <200801291641.55494.sheng.yang@intel.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_TbunHjYOer0DOOk" To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org --Boundary-00=_TbunHjYOer0DOOk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline =46rom db6524fb36bbf1f297ae171f18de382c32ed6840 Mon Sep 17 00:00:00 2001 =46rom: Sheng Yang Date: Tue, 29 Jan 2008 08:17:57 +0800 Subject: [PATCH] KVM: VMX: Fix invalid opcode of VPID Add the missing "memory" in VPID clobber list, otherwise it would cause=20 invalid opcode on host. Signed-off-by: Sheng Yang =2D-- arch/x86/kvm/vmx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 00a00e4..3d8949a 100644 =2D-- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -238,7 +238,7 @@ static inline void __invvpid(int ext, u16 vpid, gva_t g= va) asm volatile (ASM_VMX_INVVPID /* CF=3D=3D1 or ZF=3D=3D1 --> rc =3D -1 */ "; ja 1f ; ud2 ; 1:" =2D : : "a"(&operand), "c"(ext) : "cc"); + : : "a"(&operand), "c"(ext) : "cc", "memory"); } static struct kvm_msr_entry *find_msr_entry(struct vcpu_vmx *vmx, u32 msr) =2D- debian.1.5.3.7.1-dirty --Boundary-00=_TbunHjYOer0DOOk Content-Type: text/x-diff; charset="utf-8"; name="0001-KVM-VMX-Fix-invalid-opcode-of-VPID.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-KVM-VMX-Fix-invalid-opcode-of-VPID.patch" =46rom db6524fb36bbf1f297ae171f18de382c32ed6840 Mon Sep 17 00:00:00 2001 =46rom: Sheng Yang Date: Tue, 29 Jan 2008 08:17:57 +0800 Subject: [PATCH] KVM: VMX: Fix invalid opcode of VPID Add the missing "memory" in VPID clobber list, otherwise it would cause inv= alid opcode on host. Signed-off-by: Sheng Yang =2D-- arch/x86/kvm/vmx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 00a00e4..3d8949a 100644 =2D-- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -238,7 +238,7 @@ static inline void __invvpid(int ext, u16 vpid, gva_t g= va) asm volatile (ASM_VMX_INVVPID /* CF=3D=3D1 or ZF=3D=3D1 --> rc =3D -1 */ "; ja 1f ; ud2 ; 1:" =2D : : "a"(&operand), "c"(ext) : "cc"); + : : "a"(&operand), "c"(ext) : "cc", "memory"); } =20 static struct kvm_msr_entry *find_msr_entry(struct vcpu_vmx *vmx, u32 msr) =2D-=20 debian.1.5.3.7.1-dirty --Boundary-00=_TbunHjYOer0DOOk Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --Boundary-00=_TbunHjYOer0DOOk Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --Boundary-00=_TbunHjYOer0DOOk--