cope with more s/XCR0/XFEATURE renames
authoranton <anton@openbsd.org>
Sun, 23 Apr 2023 18:38:55 +0000 (18:38 +0000)
committeranton <anton@openbsd.org>
Sun, 23 Apr 2023 18:38:55 +0000 (18:38 +0000)
regress/sys/arch/amd64/vmm/vcpu.c

index 1dc0770..719fa6d 100644 (file)
@@ -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