OSDN Git Service

Merge commit '33b458d276bb' into kvm-next
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 30 Jun 2014 14:51:07 +0000 (16:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 30 Jun 2014 14:51:07 +0000 (16:51 +0200)
Fix bad x86 regression introduced during merge window.

arch/x86/kvm/svm.c

index ec8366c..b5e994a 100644 (file)
@@ -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;
        }
 }