Page MenuHomeFreeBSD

D38474.diff
No OneTemporary

D38474.diff

diff --git a/sys/amd64/vmm/vmm.c b/sys/amd64/vmm/vmm.c
--- a/sys/amd64/vmm/vmm.c
+++ b/sys/amd64/vmm/vmm.c
@@ -2859,6 +2859,8 @@
*/
tsc = now + vcpu->tsc_offset;
SNAPSHOT_VAR_OR_LEAVE(tsc, meta, ret, done);
+ if (meta->op == VM_SNAPSHOT_RESTORE)
+ vcpu->tsc_offset = tsc;
}
done:

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 5:58 AM (21 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14671377
Default Alt Text
D38474.diff (299 B)

Event Timeline