From be82246fa6d2ed41b36408de60ad9512878fa3a9 Mon Sep 17 00:00:00 2001 From: anton Date: Sun, 23 Apr 2023 18:38:55 +0000 Subject: [PATCH] cope with more s/XCR0/XFEATURE renames --- regress/sys/arch/amd64/vmm/vcpu.c | 4 ++-- 1 file 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 @@ -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 -- 2.20.1