diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2017-05-19 06:29:22 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2017-05-19 06:29:22 +0000 |
commit | 0291360fb4425d1aae01bcb4fee3f24fc43f3b48 (patch) | |
tree | 6ede6bddbcd3db75d1e7203965aaee850672e69e /sys/arch/amd64/include/vmmvar.h | |
parent | b3f1eecc2262b7c4017843ce6bf3f405217a8544 (diff) |
Respect max VPID/ASID limits. VMX VPIDs are capped at 4095, for now.
Diffstat (limited to 'sys/arch/amd64/include/vmmvar.h')
-rw-r--r-- | sys/arch/amd64/include/vmmvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/vmmvar.h b/sys/arch/amd64/include/vmmvar.h index 6c4f0b45b47..1784cc97cc3 100644 --- a/sys/arch/amd64/include/vmmvar.h +++ b/sys/arch/amd64/include/vmmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmmvar.h,v 1.37 2017/05/05 07:46:59 mlarkin Exp $ */ +/* $OpenBSD: vmmvar.h,v 1.38 2017/05/19 06:29:21 mlarkin Exp $ */ /* * Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org> * @@ -682,6 +682,7 @@ struct vcpu { struct vm *vc_parent; uint32_t vc_id; + uint16_t vc_vpid; u_int vc_state; SLIST_ENTRY(vcpu) vc_vcpu_link; |