From 5f26cd60213245ae1d9432d5ef553887799c3976 Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 9 Jul 2024 11:15:58 +0000 Subject: [PATCH] do a manual ret-clean operation inside the vmm_dispatch_intr asm code ok mlarkin --- sys/arch/amd64/amd64/vmm_support.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/amd64/amd64/vmm_support.S b/sys/arch/amd64/amd64/vmm_support.S index 9c028630630..30c1b75834f 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.27 2024/04/01 05:11:49 guenther Exp $ */ +/* $OpenBSD: vmm_support.S,v 1.28 2024/07/09 11:15:58 deraadt Exp $ */ /* * Copyright (c) 2014 Mike Larkin * @@ -57,6 +57,7 @@ vmm_dispatch_intr: pushq %rax cli callq *%rdi + movq $0,-8(%rsp) ret lfence -- 2.20.1