diff options
author | Sean Christopherson <seanjc@google.com> | 2021-12-06 20:54:12 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-12-08 04:24:20 -0500 |
commit | 509c594ca2dc8828b7b5d7b33192384741567cdf (patch) | |
tree | 6918e6b1bd3839ba5755a91ce3535b7acdee9344 /arch/mips/kvm | |
parent | 537a17b3149300987456e8949ccb991e604047d6 (diff) | |
download | linux-stable-509c594ca2dc8828b7b5d7b33192384741567cdf.tar.gz linux-stable-509c594ca2dc8828b7b5d7b33192384741567cdf.tar.bz2 linux-stable-509c594ca2dc8828b7b5d7b33192384741567cdf.zip |
KVM: arm64: Use "new" memslot instead of userspace memory region
Get the slot ID, hva, etc... from the "new" memslot instead of the
userspace memory region when preparing/committing a memory region. This
will allow a future commit to drop @mem from the prepare/commit hooks
once all architectures convert to using "new".
Opportunistically wait to get the hva begin+end until after filtering out
the DELETE case in anticipation of a future commit passing NULL for @new
when deleting a memslot.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Message-Id: <c019d00c2531520c52e0b52dfda1be5aa898103c.1638817639.git.maciej.szmigiero@oracle.com>
Diffstat (limited to 'arch/mips/kvm')
0 files changed, 0 insertions, 0 deletions