Re: [PATCH 0/4] KVM: x86: fix bugs reported by Dan Carpenter
From: Paolo Bonzini
Date: Thu May 18 2017 - 14:53:08 EST
On 18/05/2017 19:37, Radim KrÄmÃÅ wrote:
> It would be possible to make reproducers for the first three patches,
> but they happen under circumstances too remote from normal use, so I
> didn't test them like that. :)
>
>
> Radim KrÄmÃÅ (4):
> KVM: nVMX: fix nested_vmx_check_vmptr failure paths under debugging
> KVM: x86: zero base3 of unusable segments
> KVM: x86/vPMU: fix undefined shift in intel_pmu_refresh()
> KVM: x86: prevent uninitialized variable warning in check_svme()
>
> arch/x86/kvm/emulate.c | 2 +-
> arch/x86/kvm/pmu_intel.c | 2 +-
> arch/x86/kvm/vmx.c | 31 ++++++++++++++++++-------------
> arch/x86/kvm/x86.c | 2 ++
> 4 files changed, 22 insertions(+), 15 deletions(-)
>
Patch 1 is ugly, but I don't have any better idea.
Reviewed-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>