Author: jhb
Date: Thu Oct  1 17:16:05 2020
New Revision: 366331
URL: https://svnweb.freebsd.org/changeset/base/366331

Log:
  bhyve: Fix build with option BHYVE_SNAPSHOT
  
  'ident' was replaced with 'ata_ident' in revision r363596.
  
  Submitted by: Vitaliy Gusev <gusev.vitaliy_gmail.com>
  Reviewed by:  Darius Mihai
  Differential Revision:         https://reviews.freebsd.org/D26263

Modified:
  head/usr.sbin/bhyve/pci_ahci.c

Modified: head/usr.sbin/bhyve/pci_ahci.c
==============================================================================
--- head/usr.sbin/bhyve/pci_ahci.c      Thu Oct  1 16:55:01 2020        
(r366330)
+++ head/usr.sbin/bhyve/pci_ahci.c      Thu Oct  1 17:16:05 2020        
(r366331)
@@ -2684,7 +2684,7 @@ pci_ahci_snapshot(struct vm_snapshot_meta *meta)
                SNAPSHOT_GUEST2HOST_ADDR_OR_LEAVE(port->rfis, 256, false, meta,
                        ret, done);
 
-               SNAPSHOT_VAR_OR_LEAVE(port->ident, meta, ret, done);
+               SNAPSHOT_VAR_OR_LEAVE(port->ata_ident, meta, ret, done);
                SNAPSHOT_VAR_OR_LEAVE(port->atapi, meta, ret, done);
                SNAPSHOT_VAR_OR_LEAVE(port->reset, meta, ret, done);
                SNAPSHOT_VAR_OR_LEAVE(port->waitforclear, meta, ret, done);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to