From nobody Fri Dec 09 18:31:36 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NTKNm3NSBz4jx3w; Fri, 9 Dec 2022 18:31:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NTKNm2qzJz3LXj; Fri, 9 Dec 2022 18:31:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670610696; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AnbxG3+MOf9gh+bkjYCSXp3aqLeCyNqFpbY6ecHqHbY=; b=aF33MM99GUzfH/LCDHHABSvp/8pefdleT+Toii+rZocCRJvKHa1JQa2BjjOaaIbsA9PuYj e/b0ddoLDcQt7es1waZ/RyO3YZOVPeb5dIR6FUn4kJbb/mk5MKzu+0ONNVdEjqLpvoN4GY OAWWyDzRRJJ+NKCH2V3LFhgXWjESQKURCJWBVqt4PZgNB6uFcaZdsAyk53uidVe79v8AmG EiqOhx48+sS85RNIdhSybDNAjd9Qbl2dmwcoJkoCBT7HmIEZeE+Sq38CHhZOzeSbMqJJA5 vT62n1kBXID9CiwIBdFSWo5KA0s3/H6uksedCghzH5fjHLUKSP5nf2gKaRQd5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670610696; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AnbxG3+MOf9gh+bkjYCSXp3aqLeCyNqFpbY6ecHqHbY=; b=gUk3P1Cu2c7kUhhQsRQHhDCzfjOWHRaD33kZwvu3WmIApjVPDuep9gxc3gHujRjVaurtXB KAN95nMcRC21uQchQDiCCzjoY2hcXGc2IdO2TcMucoGVPbQU4SPZBFfCMPseONaHJIuIJN U/WZsS4H23Fnr4f1EPJmiTpN3wpyvh2IDjZ1iX28+rSCt4kc2Q4UM+awx8hBCveExB190p txlXLNQxzfcAGsEODoPaRuIUeRnqnsLykMEeNLwdoBAC2gs0fOc2U6QfCUEsURwRY+b8cX VuaM6Jw9s9SAGaAHoYZZNT+M1E5nru5/JEzzDvkinLDNScE9r7ahVuhInkv6QA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670610696; a=rsa-sha256; cv=none; b=vDcP5HkQBHQIzFG9W/toVCGne1AGUZ6SjVfSR3zAaOuIJGv6z80TCXQeyTg0zooFTyeJAG ymlZ5AyysWHaT3/33WYnM8UkrPOpzNeaQOO+F6vbLdxMdx/n4+owESh3YSgurPqAAyLekL TpLzkBEaZSJAhhoT4kA8S9niCV2K8unVVCf/IerC5Bg0EiveXJSqODETyNBJOIS4A5Qb+T P3CRQSCcRb7Fmhh3EdAjl1bbEZ3n1J7tzhLUW5fv+0mFexxW+s9tKhSbill8/iJdvW0KLj lpXf5ejquHaHrTc+H/35KKyyndI1Ug+B8ep39GvzUiAq2TniBXQc5IIPeNrt3A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NTKNm1tVgzlmh; Fri, 9 Dec 2022 18:31:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2B9IVajX024042; Fri, 9 Dec 2022 18:31:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2B9IVaXN024041; Fri, 9 Dec 2022 18:31:36 GMT (envelope-from git) Date: Fri, 9 Dec 2022 18:31:36 GMT Message-Id: <202212091831.2B9IVaXN024041@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 62be9ffd82fb - main - vmm: VM_GET/SET_KERNEMU_DEV should run with the vCPU locked. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 62be9ffd82fb1a03db5e04d32ab75550f1f4f2c7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=62be9ffd82fb1a03db5e04d32ab75550f1f4f2c7 commit 62be9ffd82fb1a03db5e04d32ab75550f1f4f2c7 Author: John Baldwin AuthorDate: 2022-12-09 18:25:30 +0000 Commit: John Baldwin 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. */