[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200109235620.6536-1-sean.j.christopherson@intel.com>
Date: Thu, 9 Jan 2020 15:56:17 -0800
From: Sean Christopherson <sean.j.christopherson@...el.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Jim Mattson <jmattson@...gle.com>,
Andrew Honig <ahonig@...gle.com>,
Barret Rhoden <brho@...gle.com>
Subject: [PATCH 0/3] KVM: Clean up guest/host cache read/write code
Minor cleanup to fix the underlying crustiness that led to an uninitialized
variable warning reported by Barret.
The first two patches are tagged with Fixes:, but I don't know that they're
actually worth backporting to stable. Functionally, everthing works, it's
just a bit weird and AFAICT not what is intended. It might be preferable
to take Barret's patch[*] first and only mark that for stable, as it fixes
the immediate issue without revamping __kvm_gfn_to_hva_cache_init().
[*] https://lkml.kernel.org/r/20200109195855.17353-1-brho@google.com
Sean Christopherson (3):
KVM: Check for a bad hva before dropping into the ghc slow path
KVM: Clean up __kvm_gfn_to_hva_cache_init() and its callers
KVM: Return immediately if __kvm_gfn_to_hva_cache_init() fails
virt/kvm/kvm_main.c | 45 ++++++++++++++++++++++++++-------------------
1 file changed, 26 insertions(+), 19 deletions(-)
--
2.24.1
Powered by blists - more mailing lists