|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Fix register corruption caused by c/s 9922.
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 0fbec683690550d6f4c9ee8a39cc0e98301af871
# Parent b4361ae1aabc2a6bbc65c9d9bdc9843915b2eb09
Fix register corruption caused by c/s 9922.
From: Tom Woller <thomas.woller@xxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
xen/arch/x86/hvm/svm/svm.c | 9 ---------
1 files changed, 9 deletions(-)
diff -r b4361ae1aabc -r 0fbec6836905 xen/arch/x86/hvm/svm/svm.c
--- a/xen/arch/x86/hvm/svm/svm.c Wed May 17 23:53:01 2006 +0100
+++ b/xen/arch/x86/hvm/svm/svm.c Thu May 18 00:01:59 2006 +0100
@@ -546,7 +546,6 @@ static inline int svm_do_debugout(unsign
return 1;
}
-
void save_svm_cpu_user_regs(struct vcpu *v, struct cpu_user_regs *ctxt)
{
struct vmcb_struct *vmcb = v->arch.hvm_svm.vmcb;
@@ -577,8 +576,6 @@ void svm_store_cpu_user_regs(struct cpu_
regs->ds = vmcb->ds.sel;
regs->es = vmcb->es.sel;
regs->ss = vmcb->ss.sel;
- regs->fs = vmcb->fs.sel;
- regs->gs = vmcb->gs.sel;
}
/* XXX Use svm_load_cpu_guest_regs instead */
@@ -594,12 +591,6 @@ void svm_load_cpu_user_regs(struct vcpu
vmcb->rflags = regs->eflags;
vmcb->cs.sel = regs->cs;
vmcb->rip = regs->eip;
-
- vmcb->ds.sel = regs->ds;
- vmcb->es.sel = regs->es;
- vmcb->fs.sel = regs->fs;
- vmcb->gs.sel = regs->gs;
-
if (regs->eflags & EF_TF)
*intercepts |= EXCEPTION_BITMAP_DB;
else
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Fix register corruption caused by c/s 9922.,
Xen patchbot-unstable <=
|
|
|
|
|