|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] svm: Reported SS.DPL must equal CPL, as t
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1205853995 0
# Node ID c4de138175712f661e0a5bbe35b8834711db63b7
# Parent b2a3fe7f5591e3358aede7d05a4e8705e49ae13d
svm: Reported SS.DPL must equal CPL, as this is assumed by generic HVM
code despite the fact that AMD processors do not always maintain this
invariant.
Based on a bug report and proposed patch by Ben Guthro and Robert
Phillips of Virtual Iron.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
xen/arch/x86/hvm/svm/svm.c | 1 +
1 files changed, 1 insertion(+)
diff -r b2a3fe7f5591 -r c4de13817571 xen/arch/x86/hvm/svm/svm.c
--- a/xen/arch/x86/hvm/svm/svm.c Tue Mar 18 15:23:25 2008 +0000
+++ b/xen/arch/x86/hvm/svm/svm.c Tue Mar 18 15:26:35 2008 +0000
@@ -495,6 +495,7 @@ static void svm_get_segment_register(str
break;
case x86_seg_ss:
memcpy(reg, &vmcb->ss, sizeof(*reg));
+ reg->attr.fields.dpl = vmcb->cpl;
break;
case x86_seg_tr:
svm_sync_vmcb(v);
_______________________________________________
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] svm: Reported SS.DPL must equal CPL, as this is assumed by generic HVM,
Xen patchbot-unstable <=
|
|
|
|
|