From ff51b780c36abdd2c248a0707d9ca341cbf9a6e9 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 9 Nov 2011 10:37:45 +0100 Subject: [PATCH] VMX: extend last branch MSR info to cover newer CPU models #2 Signed-off-by: Jan Beulich Acked-by: "Shan, Haitao" --- xen/arch/x86/hvm/vmx/vmx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c index ca8e09f0ce..8a50582880 100644 --- a/xen/arch/x86/hvm/vmx/vmx.c +++ b/xen/arch/x86/hvm/vmx/vmx.c @@ -1740,6 +1740,8 @@ static const struct lbr_info *last_branch_msr_get(void) break; /* Nehalem */ case 26: case 30: case 31: case 46: + /* Westmere */ + case 37: case 44: case 47: /* Sandy Bridge */ case 42: case 45: return nh_lbr; -- 2.30.2