summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Lindqvist <anton@cvs.openbsd.org>2023-04-23 18:38:56 +0000
committerAnton Lindqvist <anton@cvs.openbsd.org>2023-04-23 18:38:56 +0000
commit84cd89061766f0cadd5dc72fa2279ceedcdecf1f (patch)
tree91478f9a7b3512897d0c8c77c49c4deafabdd3c0
parentf33bf4aea515731d5011f30abdd45866e83aa361 (diff)
cope with more s/XCR0/XFEATURE renames
-rw-r--r--regress/sys/arch/amd64/vmm/vcpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/arch/amd64/vmm/vcpu.c b/regress/sys/arch/amd64/vmm/vcpu.c
index 1dc0770c708..719fa6d9cec 100644
--- a/regress/sys/arch/amd64/vmm/vcpu.c
+++ b/regress/sys/arch/amd64/vmm/vcpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vcpu.c,v 1.3 2022/09/03 23:12:36 tb Exp $ */
+/* $OpenBSD: vcpu.c,v 1.4 2023/04/23 18:38:55 anton Exp $ */
/*
* Copyright (c) 2022 Dave Voutila <dv@openbsd.org>
@@ -68,7 +68,7 @@ const struct vcpu_reg_state vcpu_init_flat16 = {
.vrs_msrs[VCPU_REGS_CSTAR] = 0ULL,
.vrs_msrs[VCPU_REGS_SFMASK] = 0ULL,
.vrs_msrs[VCPU_REGS_KGSBASE] = 0ULL,
- .vrs_crs[VCPU_REGS_XCR0] = XCR0_X87
+ .vrs_crs[VCPU_REGS_XCR0] = XFEATURE_X87
};
int