From nobody Thu Jun 23 18:46:57 2022 X-Original-To: dev-commits-src-all@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 C666E860A5A; Thu, 23 Jun 2022 18:46:58 +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 4LTTkV0Sy7z3rRf; Thu, 23 Jun 2022 18:46:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656010018; 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=6MqmDJuBfFQi5Ov1NmYlkc/mNU5dGAi7PvBBrU1QAbk=; b=aw+lxAOW9Sqw7/2BfYsGSlmcBLwxG0zrhL5urvPbCfUfDAm1lANC1jCgJpYR1PZsf55yfj EN4xOvvismBzb53mCLygBrc9bIbsY5QhFk0CY2Mi4Xai2hRFbOTRPJL0/FlOVxp9ogjTzT 0/lhkacna/KLseDTzUz/Vkuj9L64cws78i783yhYlFzS48geOUZ063Dnnf88nJj/cUKDnJ ajpmEWFagYZJIck0V4w3qo8+RRJh94u1DOkosQUehI+BF7Sc+REWPa8e4L6YsoDPJYY3K4 v3C5e+GIpbkTWguOMcSBilqmOAx0gTA0pSMSf+nthY3V6HLsx8Nv8ZAlJqyqtA== 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 C1F4E20B02; Thu, 23 Jun 2022 18:46:57 +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 25NIkv3G055523; Thu, 23 Jun 2022 18:46:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25NIkv2X055522; Thu, 23 Jun 2022 18:46:57 GMT (envelope-from git) Date: Thu, 23 Jun 2022 18:46:57 GMT Message-Id: <202206231846.25NIkv2X055522@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: a85bbbea91bd - main - bhyve: Enable suspend/resume support for virtio-blk. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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: a85bbbea91bddbd27d080fb2ad55a9f5c316adad Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656010018; 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=6MqmDJuBfFQi5Ov1NmYlkc/mNU5dGAi7PvBBrU1QAbk=; b=Fg7wm2CGr1ly3Hx0hQfI1gHzYszVglXstfOe3uOsqr1aypYpVrIjAdCxWsnF3NivDWvEra 31wvvJXup0ZhqvbMPN15bTvu0xpK9elAAHQbG4bDmN1f1YTBcSvtZx8ancinMeUFC2RupL lhpK3c706bZzKGlFUA3lWZbrIwlOLjLuVytk+YHfgLdDR5pR1ogNfn9pqoy/8s0uPG+zb8 r1YY77ig5za9E6Ajosprw9iPOYTuo2/MCEJaLFSHk5VXnNUHbyq6MU+5yN3mIOIEFehX1G hv49gPPBjCpHTL1HuSnt4pBSUApFmwZ5Qr+hzCsOvT+y/Rer/itBstNe3QE3aA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656010018; a=rsa-sha256; cv=none; b=HEyUJrI2kp8uuL3DhLHDzwltssFlsdZ94VEe3UlpBg+sX0OweVpzoGcrALhGNihh+ErhYw b6C7Murzp2q/3EOM2VcdenGbFTtjbjHxZTJH3sAqsLDSEt6RRhb9cwtF+RroZ88XVsSin6 C5GhDVH2KTdYJ3zwfDxIvGppfXUVp75IQU72I3F/Tf/6Ksv0nCUaSw4lhmBvlK6bE1rNKv VL/gSPtYx8xX+DPcLzJlww2iBSMrRO4IxkW18HOEla/rc6y26wTL/PHkfmTboBu96Dcnfh jjP562XLIXczzJ83NNafmZ7vY+3A15MHxxyFIgSxPiDPyKlml61klKx7kmvrAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=a85bbbea91bddbd27d080fb2ad55a9f5c316adad commit a85bbbea91bddbd27d080fb2ad55a9f5c316adad Author: Vitaliy Gusev AuthorDate: 2022-06-23 18:46:06 +0000 Commit: John Baldwin CommitDate: 2022-06-23 18:46:06 +0000 bhyve: Enable suspend/resume support for virtio-blk. Reviewed by: jhb Sponsored by: vStack Differential Revision: https://reviews.freebsd.org/D26267 --- 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 385b812be84c..29520309af8b 100644 --- a/usr.sbin/bhyve/pci_virtio_block.c +++ b/usr.sbin/bhyve/pci_virtio_block.c @@ -592,6 +592,8 @@ 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);