summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-06-30 16:45:40 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-06-30 16:45:40 +0200
commit9a630d15f16dbe4fec7ef5a4bc570cd46774a968 (patch)
treeba6cf978a3b0a7389e7b5cf1244831ccd352f501 /arch
parent0c2363ffec4d99f8602f94d5b3f7747fe54ab679 (diff)
parent33b458d276bbdbe28febac0742835002b9f4778d (diff)
Merge commit '33b458d276bb' into kvm-master
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/svm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index ec8366c5cfea..b5e994ad0135 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -1462,6 +1462,7 @@ static void svm_get_segment(struct kvm_vcpu *vcpu,
*/
if (var->unusable)
var->db = 0;
+ var->dpl = to_svm(vcpu)->vmcb->save.cpl;
break;
}
}