git: 2c86bac0a8e0 - stable/13 - bhyve: Enable suspend/resume support for virtio-blk.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Jan 2023 19:47:38 UTC
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=2c86bac0a8e0b462444a9c9f641032c33c41c640 commit 2c86bac0a8e0b462444a9c9f641032c33c41c640 Author: Vitaliy Gusev <gusev.vitaliy@gmail.com> AuthorDate: 2022-06-23 18:46:06 +0000 Commit: John Baldwin <jhb@FreeBSD.org> 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);