git: 62be9ffd82fb - main - vmm: VM_GET/SET_KERNEMU_DEV should run with the vCPU locked.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Dec 2022 18:31:36 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=62be9ffd82fb1a03db5e04d32ab75550f1f4f2c7 commit 62be9ffd82fb1a03db5e04d32ab75550f1f4f2c7 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-12-09 18:25:30 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-12-09 18:25:30 +0000 vmm: VM_GET/SET_KERNEMU_DEV should run with the vCPU locked. Reviewed by: corvink, kib, markj Differential Revision: https://reviews.freebsd.org/D37638 --- sys/amd64/vmm/vmm_dev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/amd64/vmm/vmm_dev.c b/sys/amd64/vmm/vmm_dev.c index b4610f4f78f4..38990387c161 100644 --- a/sys/amd64/vmm/vmm_dev.c +++ b/sys/amd64/vmm/vmm_dev.c @@ -460,6 +460,8 @@ vmmdev_ioctl(struct cdev *cdev, u_long cmd, caddr_t data, int fflag, case VM_SET_INTINFO: case VM_GET_INTINFO: case VM_RESTART_INSTRUCTION: + case VM_GET_KERNEMU_DEV: + case VM_SET_KERNEMU_DEV: /* * ioctls that can operate only on vcpus that are not running. */