aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2020-11-28 04:21:22 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2020-11-28 04:21:22 +0000
commit1b9c78611d9de31ed2f942552549f2b6f7891185 (patch)
tree3c7e4de6d78feb1fbedbaf316dc8958af76b8fd7
parentbb481f6718d09e845247c48538b2cd554f4d8c81 (diff)
downloadsrc-1b9c78611d9de31ed2f942552549f2b6f7891185.tar.gz
src-1b9c78611d9de31ed2f942552549f2b6f7891185.zip
Suspend I/O on ahci-cd devices during a snapshot.
Submitted by: Vitaliy Gusev <gusev.vitaliy@gmail.com>
Notes
Notes: svn path=/head/; revision=368119
-rw-r--r--usr.sbin/bhyve/snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bhyve/snapshot.c b/usr.sbin/bhyve/snapshot.c
index 597c0dbc7bc5..0ad03afd85c0 100644
--- a/usr.sbin/bhyve/snapshot.c
+++ b/usr.sbin/bhyve/snapshot.c
@@ -154,7 +154,7 @@ const struct vm_snapshot_dev_info snapshot_devs[] = {
{ "e1000", pci_snapshot, NULL, NULL },
{ "ahci", pci_snapshot, pci_pause, pci_resume },
{ "ahci-hd", pci_snapshot, pci_pause, pci_resume },
- { "ahci-cd", pci_snapshot, NULL, NULL },
+ { "ahci-cd", pci_snapshot, pci_pause, pci_resume },
};
const struct vm_snapshot_kern_info snapshot_kern_structs[] = {