The branch main has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=b133353310920aa823b1b5f83a308d0762f3bba3

commit b133353310920aa823b1b5f83a308d0762f3bba3
Author:     Mark Johnston <[email protected]>
AuthorDate: 2026-05-22 22:18:05 +0000
Commit:     Mark Johnston <[email protected]>
CommitDate: 2026-05-22 22:18:48 +0000

    amd64/vmm: Fix ppt_unmap_mmio() after commit 36b855f18925
    
    Fixes:          36b855f18925 ("amd64/vmm: Lock global PCI passthrough 
structures")
    MFC after:      3 days
    Reported by:    bz
---
 sys/amd64/vmm/io/ppt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/amd64/vmm/io/ppt.c b/sys/amd64/vmm/io/ppt.c
index b522e18e3b24..162f26796b33 100644
--- a/sys/amd64/vmm/io/ppt.c
+++ b/sys/amd64/vmm/io/ppt.c
@@ -577,7 +577,7 @@ ppt_unmap_mmio(struct vm *vm, int bus, int slot, int func,
        }
 out:
        PPT_UNLOCK();
-       return (ENOENT);
+       return (error);
 }
 
 static int

Reply via email to