Skip to content

Commit 755d743

Browse files
jschoiRRdhslove
authored andcommitted
Merge branch 'ablestack-diplo' into hostDeviceFilter
1 parent 544463b commit 755d743

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

core/src/main/java/com/cloud/agent/api/CleanupVMCommand.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
package com.cloud.agent.api;
2121

22+
<<<<<<<< HEAD:core/src/main/java/com/cloud/agent/api/CleanupVMCommand.java
2223
/**
2324
* This command will destroy a leftover VM during the expunge process if it wasn't destroyed before.
2425
*
@@ -33,14 +34,30 @@ public CleanupVMCommand(String vmName) {
3334
public CleanupVMCommand(String vmName, boolean executeInSequence) {
3435
this.vmName = vmName;
3536
this.executeInSequence = executeInSequence;
37+
========
38+
public class UpdateHaStateCommand extends Command {
39+
40+
String hostHAState;
41+
42+
public UpdateHaStateCommand(String hostHAState) {
43+
this.hostHAState = hostHAState;
44+
}
45+
46+
public String getHostHAState() {
47+
return hostHAState;
48+
>>>>>>>> 23aff2e406 (Merge branch 'ablestack-diplo' into hostDeviceFilter):core/src/main/java/com/cloud/agent/api/UpdateHaStateCommand.java
3649
}
3750

3851
@Override
3952
public boolean executeInSequence() {
53+
<<<<<<<< HEAD:core/src/main/java/com/cloud/agent/api/CleanupVMCommand.java
4054
return executeInSequence;
4155
}
4256

4357
public String getVmName() {
4458
return vmName;
59+
========
60+
return true;
61+
>>>>>>>> 23aff2e406 (Merge branch 'ablestack-diplo' into hostDeviceFilter):core/src/main/java/com/cloud/agent/api/UpdateHaStateCommand.java
4562
}
4663
}

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3383,6 +3383,7 @@ protected GuestDef createGuestFromSpec(VirtualMachineTO vmTO, LibvirtVMDef vm, S
33833383
if(!isGuestS390x()) {
33843384
guest.setBootOrder(GuestDef.BootOrder.CDROM);
33853385
}
3386+
guest.setBootOrder(GuestDef.BootOrder.CDROM);
33863387
return guest;
33873388
}
33883389

@@ -6662,4 +6663,4 @@ public String getHypervisorPath() {
66626663
public String getGuestCpuArch() {
66636664
return guestCpuArch;
66646665
}
6665-
}
6666+
}

0 commit comments

Comments
 (0)