Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107020188
D43226.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
917 B
Referenced Files
None
Subscribers
None
D43226.diff
View Options
diff --git a/sys/amd64/vmm/amd/svm.c b/sys/amd64/vmm/amd/svm.c
--- a/sys/amd64/vmm/amd/svm.c
+++ b/sys/amd64/vmm/amd/svm.c
@@ -2781,6 +2781,8 @@
SNAPSHOT_VAR_OR_LEAVE(vcpu->asid.gen, meta, err, done);
SNAPSHOT_VAR_OR_LEAVE(vcpu->asid.num, meta, err, done);
+ SNAPSHOT_BUF_OR_LEAVE(&vcpu->mtrr, sizeof(vcpu->mtrr), meta, err, done);
+
/* Set all caches dirty */
if (meta->op == VM_SNAPSHOT_RESTORE)
svm_set_dirty(vcpu, 0xffffffff);
diff --git a/sys/amd64/vmm/intel/vmx.c b/sys/amd64/vmm/intel/vmx.c
--- a/sys/amd64/vmm/intel/vmx.c
+++ b/sys/amd64/vmm/intel/vmx.c
@@ -4200,6 +4200,9 @@
SNAPSHOT_BUF_OR_LEAVE(vcpu->pir_desc,
sizeof(*vcpu->pir_desc), meta, err, done);
+ SNAPSHOT_BUF_OR_LEAVE(&vcpu->mtrr,
+ sizeof(vcpu->mtrr), meta, err, done);
+
vmxctx = &vcpu->ctx;
SNAPSHOT_VAR_OR_LEAVE(vmxctx->guest_rdi, meta, err, done);
SNAPSHOT_VAR_OR_LEAVE(vmxctx->guest_rsi, meta, err, done);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 2:01 AM (10 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15738264
Default Alt Text
D43226.diff (917 B)
Attached To
Mode
D43226: vmm: [snapshot] MTRR should be saved/restored
Attached
Detach File
Event Timeline
Log In to Comment