hyperv: rename kvm_hv_sint_route_set_sint
authorRoman Kagan <rkagan@virtuozzo.com>
Fri, 21 Sep 2018 08:18:36 +0000 (11:18 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Oct 2018 11:44:13 +0000 (13:44 +0200)
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>
hw/misc/hyperv_testdev.c
target/i386/hyperv.c
target/i386/hyperv.h

index dbf4e7e4ab25c7c71077d59eb2fb76e9e46c8709..33bbd286bc2f7911db85a1efb8899e3374980d08 100644 (file)
@@ -90,7 +90,7 @@ static void sint_route_set_sint(HypervTestDev *dev,
 
     sint_route = sint_route_find(dev, vp_index, sint);
 
-    kvm_hv_sint_route_set_sint(sint_route->sint_route);
+    hyperv_sint_route_set_sint(sint_route->sint_route);
 }
 
 static uint64_t hv_test_dev_read(void *opaque, hwaddr addr, unsigned size)
index 4d8ef6f2dae0eb03a193e83acddc8b329192716a..fc537e7ca0421fe08c826f518e2f590940fdeeb4 100644 (file)
@@ -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);
 }
index cdf44a7757ba27c69510bf41c85ade13c05465f9..59e9f9a1e14d8cc8de0d813af0f25aebbd6b9ceb 100644 (file)
@@ -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);