commit | 605a140a49099effc069f0fd509db34d91f48496 | [log] [tgz] |
---|---|---|
author | Ilias Stamatis <ilstam@amazon.com> | Wed May 26 19:44:08 2021 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jun 17 13:09:27 2021 -0400 |
tree | ee3632b91c72fda9366bb2e05a21df7320f3e247 | |
parent | d501f747ef5c0ac0c917f9a6781d04ae4ae39d63 [diff] |
math64.h: Add mul_s64_u64_shr() This function is needed for KVM's nested virtualization. The nested TSC scaling implementation requires multiplying the signed TSC offset with the unsigned TSC multiplier. Signed-off-by: Ilias Stamatis <ilstam@amazon.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20210526184418.28881-2-ilstam@amazon.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>