commit | fe3c2b4c228443b505f2d8981c4871b96cfec6d6 | [log] [tgz] |
---|---|---|
author | Miaohe Lin <linmiaohe@huawei.com> | Thu Dec 05 11:40:16 2019 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Jan 08 17:33:13 2020 +0100 |
tree | 9fbc95f4b57cda60ccda8172a186572f864af5c0 | |
parent | d29c03a58705417561a5d2bacec4194ef6485ece [diff] |
KVM: explicitly set rmap_head->val to 0 in pte_list_desc_remove_entry() When we reach here, we have desc->sptes[j] = NULL with j = 0. So we can replace desc->sptes[0] with 0 to make it more clear. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>