aboutsummaryrefslogtreecommitdiff
path: root/target/i386
diff options
context:
space:
mode:
authorRoman Kagan <rkagan@virtuozzo.com>2018-09-21 11:18:36 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2018-10-19 13:44:13 +0200
commit2486cb8eba919980091c754256cd014342738a6a (patch)
tree92772e59b8ca0c528d33101d34b69671c52fb41f /target/i386
parent3d3e6e85c3ebd5cd551133af9bace084360307a3 (diff)
hyperv: rename kvm_hv_sint_route_set_sint
There's nothing kvm-specific in it so follow the suite and replace "kvm_hv" prefix with "hyperv". Signed-off-by: Roman Kagan <rkagan@virtuozzo.com> Message-Id: <20180921081836.29230-9-rkagan@virtuozzo.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386')
-rw-r--r--target/i386/hyperv.c2
-rw-r--r--target/i386/hyperv.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/i386/hyperv.c b/target/i386/hyperv.c
index 4d8ef6f2da..fc537e7ca0 100644
--- a/target/i386/hyperv.c
+++ b/target/i386/hyperv.c
@@ -185,7 +185,7 @@ void hyperv_sint_route_unref(HvSintRoute *sint_route)
g_free(sint_route);
}
-int kvm_hv_sint_route_set_sint(HvSintRoute *sint_route)
+int hyperv_sint_route_set_sint(HvSintRoute *sint_route)
{
return event_notifier_set(&sint_route->sint_set_notifier);
}
diff --git a/target/i386/hyperv.h b/target/i386/hyperv.h
index cdf44a7757..59e9f9a1e1 100644
--- a/target/i386/hyperv.h
+++ b/target/i386/hyperv.h
@@ -28,7 +28,7 @@ HvSintRoute *hyperv_sint_route_new(uint32_t vp_index, uint32_t sint,
void hyperv_sint_route_ref(HvSintRoute *sint_route);
void hyperv_sint_route_unref(HvSintRoute *sint_route);
-int kvm_hv_sint_route_set_sint(HvSintRoute *sint_route);
+int hyperv_sint_route_set_sint(HvSintRoute *sint_route);
uint32_t hyperv_vp_index(X86CPU *cpu);
X86CPU *hyperv_find_vcpu(uint32_t vp_index);