From: anton Date: Sun, 23 Apr 2023 18:38:55 +0000 (+0000) Subject: cope with more s/XCR0/XFEATURE renames X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=be82246fa6d2ed41b36408de60ad9512878fa3a9;p=openbsd cope with more s/XCR0/XFEATURE renames --- 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