diff options
| author | 2022-07-15 22:42:20 +0000 | |
|---|---|---|
| committer | 2022-07-28 13:22:15 -0400 | |
| commit | 35d539c3e44f2021ff47a91cf4e6a35c550b6fbc (patch) | |
| tree | bfd6b93a4a12e79ed077661d150c8e0b30941b24 /virt/git:/ssh:/git@git.zx2c4.com | |
| parent | KVM: nSVM: Pull CS.Base from actual VMCB12 for soft int/ex re-injection (diff) | |
| download | linux-dev-35d539c3e44f2021ff47a91cf4e6a35c550b6fbc.tar.xz linux-dev-35d539c3e44f2021ff47a91cf4e6a35c550b6fbc.zip | |
KVM: x86/mmu: Return a u64 (the old SPTE) from mmu_spte_clear_track_bits()
Return a u64, not an int, from mmu_spte_clear_track_bits(). The return
value is the old SPTE value, which is very much a 64-bit value. The sole
caller that consumes the return value, drop_spte(), already uses a u64.
The only reason that truncating the SPTE value is not problematic is
because drop_spte() only queries the shadow-present bit, which is in the
lower 32 bits.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220715224226.3749507-2-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
