Commit 0af8b3ad authored by Izik Eidus's avatar Izik Eidus Committed by Greg Kroah-Hartman
Browse files

KVM: MMU: make __kvm_mmu_free_some_pages handle empty list



(cherry picked from commit 3b80fffe)

First check if the list is empty before attempting to look at list
entries.

Signed-off-by: default avatarIzik Eidus <ieidus@redhat.com>
Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e38c35b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment