[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 8/8] hyperv: rename kvm_hv_sint_route_set_sint
From: |
Roman Kagan |
Subject: |
[Qemu-devel] [PATCH v2 8/8] hyperv: rename kvm_hv_sint_route_set_sint |
Date: |
Fri, 21 Sep 2018 11:18:36 +0300 |
There's nothing kvm-specific in it so follow the suite and replace
"kvm_hv" prefix with "hyperv".
Signed-off-by: Roman Kagan <address@hidden>
---
target/i386/hyperv.h | 2 +-
hw/misc/hyperv_testdev.c | 2 +-
target/i386/hyperv.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
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);
diff --git a/hw/misc/hyperv_testdev.c b/hw/misc/hyperv_testdev.c
index 0d0776eb3c..8654b13d76 100644
--- a/hw/misc/hyperv_testdev.c
+++ b/hw/misc/hyperv_testdev.c
@@ -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 void hv_test_dev_control(void *opaque, hwaddr addr, uint64_t data,
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);
}
--
2.17.1
- [Qemu-devel] [PATCH v2 0/8] hyperv: refactor HvSintRoute management, Roman Kagan, 2018/09/21
- [Qemu-devel] [PATCH v2 2/8] hyperv_testdev: drop unnecessary includes, Roman Kagan, 2018/09/21
- [Qemu-devel] [PATCH v2 1/8] hyperv_testdev: refactor for better maintainability, Roman Kagan, 2018/09/21
- [Qemu-devel] [PATCH v2 3/8] hyperv: cosmetic: g_malloc -> g_new, Roman Kagan, 2018/09/21
- [Qemu-devel] [PATCH v2 4/8] hyperv: synic: only setup ack notifier if there's a callback, Roman Kagan, 2018/09/21
- [Qemu-devel] [PATCH v2 5/8] hyperv: allow passing arbitrary data to sint ack callback, Roman Kagan, 2018/09/21
- [Qemu-devel] [PATCH v2 6/8] hyperv: address HvSintRoute by X86CPU pointer, Roman Kagan, 2018/09/21
- [Qemu-devel] [PATCH v2 8/8] hyperv: rename kvm_hv_sint_route_set_sint,
Roman Kagan <=
- [Qemu-devel] [PATCH v2 7/8] hyperv: make HvSintRoute reference-counted, Roman Kagan, 2018/09/21