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>
This commit is contained in:
parent
3d3e6e85c3
commit
2486cb8eba
@ -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)
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user