hyperv: make hyperv_vp_index inline
commit51f0ac63812abf41d3a9284a272c6275d7318705
authorRoman Kagan <rkagan@virtuozzo.com>
Fri, 21 Sep 2018 08:20:38 +0000 (21 11:20 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Oct 2018 11:44:13 +0000 (19 13:44 +0200)
tree637d5b87f5ff427af193d754c6871bfcf9151ba6
parent5116122af70357d895ecc61c0211dbf786226081
hyperv: make hyperv_vp_index inline

Also make the inverse function, hyperv_find_vcpu, static as it's not
used outside hyperv.c

This paves the way to making hyperv.c built optionally.

Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
Message-Id: <20180921082041.29380-3-rkagan@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/hyperv.c
target/i386/hyperv.h