This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [xen-unstable] [HVM][SVM] Save/restore: set CPL from SS.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [HVM][SVM] Save/restore: set CPL from SS.DPL on restore
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 18 Apr 2007 07:30:08 -0700
Delivery-date: Wed, 18 Apr 2007 07:31:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1176481041 -3600
# Node ID 0c00c6a48d52ff7143c5a259c4ec1b76becf679a
# Parent  039daabebad5d3c69fb9497693e8e3fd4fee00c9
[HVM][SVM] Save/restore: set CPL from SS.DPL on restore
(not needed on VMX, which doesn't keep the CPL separately from SS.DPL)
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
 xen/arch/x86/hvm/svm/svm.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 039daabebad5 -r 0c00c6a48d52 xen/arch/x86/hvm/svm/svm.c
--- a/xen/arch/x86/hvm/svm/svm.c        Fri Apr 13 16:07:48 2007 +0100
+++ b/xen/arch/x86/hvm/svm/svm.c        Fri Apr 13 17:17:21 2007 +0100
@@ -397,6 +397,7 @@ int svm_vmcb_restore(struct vcpu *v, str
     vmcb->ss.limit      = c->ss_limit;
     vmcb->ss.base       = c->ss_base;
     vmcb->ss.attr.bytes = c->ss_arbytes;
+    vmcb->cpl           = vmcb->ss.attr.fields.dpl;
     vmcb->fs.sel        = c->fs_sel;
     vmcb->fs.limit      = c->fs_limit;

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [HVM][SVM] Save/restore: set CPL from SS.DPL on restore, Xen patchbot-unstable <=