summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/vmm_support.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amd64/amd64/vmm_support.S b/sys/arch/amd64/amd64/vmm_support.S
index 6980dc0b827..8fde032b981 100644
--- a/sys/arch/amd64/amd64/vmm_support.S
+++ b/sys/arch/amd64/amd64/vmm_support.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmm_support.S,v 1.6 2017/02/20 07:36:20 mlarkin Exp $ */
+/* $OpenBSD: vmm_support.S,v 1.7 2017/03/25 15:25:20 kettenis Exp $ */
/*
* Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org>
*
@@ -472,9 +472,9 @@ _C_LABEL(svm_enter_guest):
/* %rax at 0x08(%rsi) is not needed in SVM */
movq 0x00(%rsi), %rsi
- vmload
- vmrun
- vmsave
+ vmload %rax
+ vmrun %rax
+ vmsave %rax
/* Preserve guest registers not saved in VMCB */
pushq %rsi