From: Marcelo Tosatti <[email protected]> Missing break & wrong parameter.
Signed-off-by: Marcelo Tosatti <[email protected]> diff --git a/qemu-kvm-x86.c b/qemu-kvm-x86.c index 016dcf1..fd974b3 100644 --- a/qemu-kvm-x86.c +++ b/qemu-kvm-x86.c @@ -1335,10 +1335,11 @@ static int kvm_reset_msrs(CPUState *env) switch (index) { case MSR_PAT: data = 0x0007040600070406ULL; + break; default: data = 0; } - kvm_msr_entry_set(&msrs[n], kvm_msr_list->indices[n], 0); + kvm_msr_entry_set(&msrs[n], kvm_msr_list->indices[n], data); } msr_data.info.nmsrs = n; -- To unsubscribe from this list: send the line "unsubscribe kvm-commits" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
