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