The branch main has been updated by aokblast: URL: https://cgit.FreeBSD.org/src/commit/?id=9d1405ceedc6cfcf59ce73b355e4a5bd489ff29e
commit 9d1405ceedc6cfcf59ce73b355e4a5bd489ff29e Author: ShengYi Hung <aokbl...@freebsd.org> AuthorDate: 2025-07-23 15:56:06 +0000 Commit: ShengYi Hung <aokbl...@freebsd.org> CommitDate: 2025-07-23 16:32:17 +0000 bhyve: save speed member in struct hci when doing snapshot Approved by: markj (mentor) Fixes: 48266828f5bb ("bhyve: use speed in hci to allow backend modify it.") Differential Revision: https://reviews.freebsd.org/D51477 --- usr.sbin/bhyve/pci_xhci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/bhyve/pci_xhci.c b/usr.sbin/bhyve/pci_xhci.c index 29001755cbbf..0871bbb87fe5 100644 --- a/usr.sbin/bhyve/pci_xhci.c +++ b/usr.sbin/bhyve/pci_xhci.c @@ -3231,6 +3231,7 @@ pci_xhci_snapshot(struct vm_snapshot_meta *meta) /* devices[i]->hci */ SNAPSHOT_VAR_OR_LEAVE(dev->hci.hci_address, meta, ret, done); SNAPSHOT_VAR_OR_LEAVE(dev->hci.hci_port, meta, ret, done); + SNAPSHOT_VAR_OR_LEAVE(dev->hci.hci_speed, meta, ret, done); } SNAPSHOT_VAR_OR_LEAVE(sc->usb2_port_start, meta, ret, done);