Page MenuHomeFreeBSD

D43226.diff
No OneTemporary

D43226.diff

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

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)

Event Timeline