From nobody Thu Jan 26 19:47:38 2023 X-Original-To: dev-commits-src-branches@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 4P2rpL6gnCz3bnLW; Thu, 26 Jan 2023 19:47:38 +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 4P2rpL69C1z3C4X; Thu, 26 Jan 2023 19:47:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674762458; 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=pC7xvV0jUSCoe9W2Nb7TNIFKvMHLXJAhZYzXMo1bg9o=; b=d8JJplEf7r2uciA8QVzUVUY2LylAMMcKUHdr6M0lVxrqyDD3+wPkohGxgVHnexFGM4nvOT Kq4TT65tqM3EZbX7pckSU77jZS7hNhJ1ZdTHwXjlFxfTNsooHXs+SEO5suRQtyVvKzwDdZ yyfaU/d4qI5Qr+9dX39NCQd45PCm+Qm4sy0FMVwCbDrn0nNTXdZYyVWLTkRxTDqqLpoSl5 YkMQMJyzi3a7QN1KI99PZaqgFFCqybtEKHgdTfWhXumtmOC9Iv+TZ4+k6wpBf4AwDXxjjV 9wGIh4b7atMYPO3RWAcRwOpjcsHPp+2gQ/cZQZvMmM88A6YwyrBnntsvPfqWNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674762458; 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=pC7xvV0jUSCoe9W2Nb7TNIFKvMHLXJAhZYzXMo1bg9o=; b=RzktVmH/TVnkz2xFxFCGEympklBgkgJtB2rW8t7M7KL4Qt0BYE5A7TG24TwB0Ve9xTerY7 88h5lHA5n73mghTgnRFhLrVyGxIAGWn5AxOvc+LLDyeV0R4bwVfwHHQuyFE8tCnUcBlSGF i3NDGQBdCHoDlqWb68wj0VJwRP179UWmuLJy8JKBIxyKUibt7/VnXF5aHt+FodkbS9Oxo0 dP4SahHIwnAzr/aNWykFfZlYV8OLxwXQxpw9vApOeir2Z8YuIlie7HiAR65Q9/APqxmAmb SSjkEymyEqymxCeBKymEXj1oYdizqj4Nrfpiwu07EC9ntX5gexaUxtJserqtcw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674762458; a=rsa-sha256; cv=none; b=VN7HbFjXuzDnPz4IeJ+PvL/V887J3/BABR+ZQ6NCFiKet6WLp26dh2BQsxbhzTrUw2ZcWM tRbb9GmzARYVp8xpoCqCjn7MD1uQKvpjZo6kzjzT9MYORCPBvzSGmBxu2NqDyxcMjEchyG ox6C7Y5aQKp4ZpNBpr2TTkKEgE2UW23Ju4rBfdmCQA/Wy8tO9o0m5P13hwkqGISxA2h+Ir cbycsmwf4nW1gTE0IHb9tGdgtb8Li8fgA42fkBbCdhc7+ZMu0sxqEerYlpFUu2kZCNgtgZ exjBY0h0AX2WikXSFDUoP0pEllT1jjrg/0YtrbAb9I+0JTn6+TYYel6+GAhHig== 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 4P2rpL4zLszhWb; Thu, 26 Jan 2023 19:47:38 +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 30QJlcWJ006882; Thu, 26 Jan 2023 19:47:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30QJlcxG006881; Thu, 26 Jan 2023 19:47:38 GMT (envelope-from git) Date: Thu, 26 Jan 2023 19:47:38 GMT Message-Id: <202301261947.30QJlcxG006881@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 2c86bac0a8e0 - stable/13 - bhyve: Enable suspend/resume support for virtio-blk. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 2c86bac0a8e0b462444a9c9f641032c33c41c640 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=2c86bac0a8e0b462444a9c9f641032c33c41c640 commit 2c86bac0a8e0b462444a9c9f641032c33c41c640 Author: Vitaliy Gusev AuthorDate: 2022-06-23 18:46:06 +0000 Commit: John Baldwin CommitDate: 2023-01-26 19:29:11 +0000 bhyve: Enable suspend/resume support for virtio-blk. Reviewed by: jhb Sponsored by: vStack Differential Revision: https://reviews.freebsd.org/D26267 (cherry picked from commit a85bbbea91bddbd27d080fb2ad55a9f5c316adad) --- usr.sbin/bhyve/pci_virtio_block.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.sbin/bhyve/pci_virtio_block.c b/usr.sbin/bhyve/pci_virtio_block.c index 8d9945b9e064..1459f0e6c02d 100644 --- a/usr.sbin/bhyve/pci_virtio_block.c +++ b/usr.sbin/bhyve/pci_virtio_block.c @@ -592,6 +592,8 @@ static const struct pci_devemu pci_de_vblk = { .pe_barread = vi_pci_read, #ifdef BHYVE_SNAPSHOT .pe_snapshot = vi_pci_snapshot, + .pe_pause = vi_pci_pause, + .pe_resume = vi_pci_resume, #endif }; PCI_EMUL_SET(pci_de_vblk);