From bdd47a8dde1367d7cfb1be870d7b1b759e43b9d4 Mon Sep 17 00:00:00 2001 From: Mike Larkin Date: Mon, 3 Oct 2016 04:53:55 +0000 Subject: disable PAT and MTRR in guest VMs --- sys/arch/amd64/include/vmmvar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/amd64/include/vmmvar.h') diff --git a/sys/arch/amd64/include/vmmvar.h b/sys/arch/amd64/include/vmmvar.h index c152eb7c3df..76c3e997ba5 100644 --- a/sys/arch/amd64/include/vmmvar.h +++ b/sys/arch/amd64/include/vmmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmmvar.h,v 1.19 2016/09/04 08:49:18 mlarkin Exp $ */ +/* $OpenBSD: vmmvar.h,v 1.20 2016/10/03 04:53:54 mlarkin Exp $ */ /* * Copyright (c) 2014 Mike Larkin * @@ -300,7 +300,7 @@ struct vm_rwregs_params { #define VMX_FAIL_LAUNCH_INVALID_VMCS 2 #define VMX_FAIL_LAUNCH_VALID_VMCS 3 -#define VMX_NUM_MSR_STORE 7 +#define VMX_NUM_MSR_STORE 6 /* MSR bitmap manipulation macros */ #define MSRIDX(m) ((m) / 8) -- cgit v1.2.3