X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=arch%2Fx86%2Fkvm%2Femulate.c;h=0816ab2e8adcae2b45f83c95c51e8b95a245b07e;hb=0bdc6fd2329e51b9659d5192f4281493c15e95b3;hp=c25cfaf584e7285c10d23ee8d9240f22b7c94628;hpb=8f3207c7eab9d885cc64c778416537034a7d9c5b;p=karo-tx-linux.git diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index c25cfaf584e7..0816ab2e8adc 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -4173,7 +4173,7 @@ static int check_dr_write(struct x86_emulate_ctxt *ctxt) static int check_svme(struct x86_emulate_ctxt *ctxt) { - u64 efer; + u64 efer = 0; ctxt->ops->get_msr(ctxt, MSR_EFER, &efer);