Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107123108
D40108.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
696 B
Referenced Files
None
Subscribers
None
D40108.diff
View Options
diff --git a/usr.sbin/bhyve/pci_hostbridge.c b/usr.sbin/bhyve/pci_hostbridge.c
--- a/usr.sbin/bhyve/pci_hostbridge.c
+++ b/usr.sbin/bhyve/pci_hostbridge.c
@@ -86,6 +86,14 @@
return (0);
}
+#ifdef BHYVE_SNAPSHOT
+static int
+pci_de_snapshot(struct vm_snapshot_meta *meta __unused)
+{
+ return (0);
+}
+#endif
+
static const struct pci_devemu pci_de_amd_hostbridge = {
.pe_emu = "amd_hostbridge",
.pe_legacy_config = pci_amd_hostbridge_legacy_config,
@@ -96,5 +104,8 @@
static const struct pci_devemu pci_de_hostbridge = {
.pe_emu = "hostbridge",
.pe_init = pci_hostbridge_init,
+#ifdef BHYVE_SNAPSHOT
+ .pe_snapshot = pci_de_snapshot,
+#endif
};
PCI_EMUL_SET(pci_de_hostbridge);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 11:38 AM (20 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15753402
Default Alt Text
D40108.diff (696 B)
Attached To
Mode
D40108: bhyve: [snapshot] Add .pe_snapshot method for PCI 'hostbridge'
Attached
Detach File
Event Timeline
Log In to Comment