commit | 5688fed649f15a232e75148afb0a28864046f44c | [log] [tgz] |
---|---|---|
author | Anthony Yznaga <anthony.yznaga@oracle.com> | Tue Jun 02 13:07:28 2020 -0700 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jun 04 14:42:25 2020 -0400 |
tree | 5e704fc2aaea975a137a6f15237b7334b68f64d7 | |
parent | 7ec28e264f2e52089c14c6f8eba1ce7b6501e59b [diff] |
KVM: x86: remove unnecessary rmap walk of read-only memslots There's no write access to remove. An existing memslot cannot be updated to set or clear KVM_MEM_READONLY, and any mappings established in a newly created or moved read-only memslot will already be read-only. Signed-off-by: Anthony Yznaga <anthony.yznaga@oracle.com> Message-Id: <1591128450-11977-2-git-send-email-anthony.yznaga@oracle.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>