[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.1-testing] svm: Reported SS.DPL must equal CPL, as this is assumed by generic HVM
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1206015935 0 # Node ID 7ef2eb7341ed18e7770d5b948b8b366bc73c96ae # Parent fea5a34271483e8f6be684932e0adbb885991715 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-unstable changeset: 17235:c4de138175712f661e0a5bbe35b8834711db63b7 xen-unstable date: Tue Mar 18 15:26:35 2008 +0000 --- xen/arch/x86/hvm/svm/svm.c | 1 + 1 files changed, 1 insertion(+) diff -r fea5a3427148 -r 7ef2eb7341ed xen/arch/x86/hvm/svm/svm.c --- a/xen/arch/x86/hvm/svm/svm.c Thu Mar 20 12:24:10 2008 +0000 +++ b/xen/arch/x86/hvm/svm/svm.c Thu Mar 20 12:25:35 2008 +0000 @@ -755,6 +755,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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |