mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
kvm: ITCO watchdog added (#8282)
* ITCO watchdog added * add inject-nmi action * Update plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java Co-authored-by: Wei Zhou <weizhou@apache.org> --------- Co-authored-by: Wei Zhou <weizhou@apache.org>
This commit is contained in:
parent
d8cd122849
commit
672206c312
@ -2157,7 +2157,7 @@ public class LibvirtVMDef {
|
|||||||
|
|
||||||
public static class WatchDogDef {
|
public static class WatchDogDef {
|
||||||
enum WatchDogModel {
|
enum WatchDogModel {
|
||||||
I6300ESB("i6300esb"), IB700("ib700"), DIAG288("diag288");
|
I6300ESB("i6300esb"), IB700("ib700"), DIAG288("diag288"), ITCO("itco");
|
||||||
String model;
|
String model;
|
||||||
|
|
||||||
WatchDogModel(String model) {
|
WatchDogModel(String model) {
|
||||||
@ -2171,7 +2171,7 @@ public class LibvirtVMDef {
|
|||||||
}
|
}
|
||||||
|
|
||||||
enum WatchDogAction {
|
enum WatchDogAction {
|
||||||
RESET("reset"), SHUTDOWN("shutdown"), POWEROFF("poweroff"), PAUSE("pause"), NONE("none"), DUMP("dump");
|
RESET("reset"), SHUTDOWN("shutdown"), POWEROFF("poweroff"), PAUSE("pause"), NONE("none"), DUMP("dump"), INJECT_NMI("inject-nmi");
|
||||||
String action;
|
String action;
|
||||||
|
|
||||||
WatchDogAction(String action) {
|
WatchDogAction(String action) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user