Skip to content

Commit 93eb9d9

Browse files
author
Eugenio Grosso
committed
kvm: align MultipathNVMeOFPool with KVMStoragePool API change
Reported by @slavkap: building this branch against current main produces a compile error in MultipathNVMeOFPool because the KVMStoragePool interface drifted between when this PR was last rebased (2026-05-22) and main today (2026-06-09): - checkingHeartBeat(HAStoragePool, HostTO) was renamed to hasHeartBeat(HAStoragePool, HostTO) - vmActivityCheck(...) was renamed to hasVmActivity(...) with the same signature Update the two overrides accordingly (both still return null as before — MultipathNVMeOFPool does not participate in the KVM-side HA heartbeat). Mirrors how MultipathSCSIPool implements them. Verified compile via mvn -pl plugins/hypervisors/kvm -am -DskipTests compile. Signed-off-by: Eugenio Grosso <eugenio.grosso@gmail.com>
1 parent 3edf7d6 commit 93eb9d9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage/MultipathNVMeOFPool.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,10 @@ public String createHeartBeatCommand(HAStoragePool primaryStoragePool, String ho
147147
@Override public String getStorageNodeId() { return null; }
148148

149149
@Override
150-
public Boolean checkingHeartBeat(HAStoragePool pool, HostTO host) { return null; }
150+
public Boolean hasHeartBeat(HAStoragePool pool, HostTO host) { return null; }
151151

152152
@Override
153-
public Boolean vmActivityCheck(HAStoragePool pool, HostTO host, Duration activityScriptTimeout,
153+
public Boolean hasVmActivity(HAStoragePool pool, HostTO host, Duration activityScriptTimeout,
154154
String volumeUUIDListString, String vmActivityCheckPath, long duration) {
155155
return null;
156156
}

0 commit comments

Comments
 (0)