|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [HVM][SVM] Save/Restore: Remove commented
# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1172510436 0
# Node ID e7b2a282c9e70fbadd38ccc7cc7d1fcb6a32b886
# Parent 6efc22cb9c847c1f67566eda3ece256293d1828d
[HVM][SVM] Save/Restore: Remove commented out code
Code not needed by SVM as the "VM_ENTRY_CONTROLS" register doesn't
exist.
Signed off: Mats Petersson (mats.petersson@xxxxxxx)
---
xen/arch/x86/hvm/svm/svm.c | 9 ---------
1 files changed, 9 deletions(-)
diff -r 6efc22cb9c84 -r e7b2a282c9e7 xen/arch/x86/hvm/svm/svm.c
--- a/xen/arch/x86/hvm/svm/svm.c Mon Feb 26 17:05:10 2007 +0000
+++ b/xen/arch/x86/hvm/svm/svm.c Mon Feb 26 17:20:36 2007 +0000
@@ -502,15 +502,6 @@ int svm_vmcb_restore(struct vcpu *v, str
}
skip_cr3:
-#if defined(__x86_64__) && 0
- if (vmx_long_mode_enabled(v)) {
- unsigned long vm_entry_value;
- vm_entry_value = __vmread(VM_ENTRY_CONTROLS);
- vm_entry_value |= VM_ENTRY_IA32E_MODE;
- __vmwrite(VM_ENTRY_CONTROLS, vm_entry_value);
- }
-#endif
-
vmcb->cr4 = c->cr4 | SVM_CR4_HOST_MASK;
v->arch.hvm_svm.cpu_shadow_cr4 = c->cr4;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [HVM][SVM] Save/Restore: Remove commented out code,
Xen patchbot-unstable <=
|
|
|
|
|