ocaml/xc: add softreset shutdown reason
PATCH 1/1 ocaml/xc: add softreset shutdown reason
According to public/sched.h, there is a new shutdown_reason called soft_reset. Propagate that value to ocaml.
---
Cc: David Scott <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Ian Campbell <[email protected]>
--- tools/ocaml/libs/xc/xenctrl.ml | 2 +- tools/ocaml/libs/xc/xenctrl.mli | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
tools/ocaml/libs/xc/xenctrl.ml +1 -1
@@ -89,7 +89,7 @@ type compile_info = compile_date : string; } -type shutdown_reason = Poweroff | Reboot | Suspend | Crash | Watchdog +type shutdown_reason = Poweroff | Reboot | Suspend | Crash | Watchdog | Soft_reset type domain_create_flag = CDF_HVM | CDF_HAP
tools/ocaml/libs/xc/xenctrl.mli +1 -1
@@ -61,7 +61,7 @@ type compile_info = { compile_domain : string; compile_date : string; } -type shutdown_reason = Poweroff | Reboot | Suspend | Crash | Watchdog +type shutdown_reason = Poweroff | Reboot | Suspend | Crash | Watchdog | Soft_reset type domain_create_flag = CDF_HVM | CDF_HAP
Signature · 1 line
2.1.4
Dave, ping?
Quoted 43 lines · Wei Liu
According to
public/sched.h, there is a newshutdown_reasoncalledsoft_reset. Propagate that value to ocaml.Signed-off-by Wei Liu <[email protected]>---
Cc: David Scott <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Ian Campbell <[email protected]>--- tools/ocaml/libs/xc/xenctrl.ml | 2 +- tools/ocaml/libs/xc/xenctrl.mli | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)tools/ocaml/libs/xc/xenctrl.ml +1
-1@@ -89,7 +89,7 @@ type compile_info = compile_date : string; } -type shutdown_reason = Poweroff | Reboot | Suspend | Crash | Watchdog +type shutdown_reason = Poweroff | Reboot | Suspend | Crash | Watchdog | Soft_reset type domain_create_flag = CDF_HVM | CDF_HAPtools/ocaml/libs/xc/xenctrl.mli +1
-1@@ -61,7 +61,7 @@ type compile_info = { compile_domain : string; compile_date : string; } -type shutdown_reason = Poweroff | Reboot | Suspend | Crash | Watchdog +type shutdown_reason = Poweroff | Reboot | Suspend | Crash | Watchdog | Soft_reset type domain_create_flag = CDF_HVM | CDF_HAPSignature · 1 line
2.1.4
David Scott
Acked-byQuoted 4 lines · Wei Liu
Dave, ping?
Sorry, completely forgot about this email.
Looks totally fine to me!
Cheers,
Dave
Quoted 46 lines · Wei Liu
Quoted 43 lines
According to
public/sched.h, there is a newshutdown_reasoncalledsoft_reset. Propagate that value to ocaml.Signed-off-by Wei Liu <[email protected]>---
Cc: David Scott <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Ian Campbell <[email protected]>
---tools/ocaml/libs/xc/xenctrl.ml| 2 +-tools/ocaml/libs/xc/xenctrl.mli| 2 +-2 files changed, 2 insertions(+), 2 deletions(-)tools/ocaml/libs/xc/xenctrl.ml +1
-1@@ -89,7 +89,7 @@ type compile_info = compile_date : string; } -type shutdown_reason = Poweroff | Reboot | Suspend | Crash | Watchdog +type shutdown_reason = Poweroff | Reboot | Suspend | Crash | Watchdog | Soft_resettype
domain_create_flag=CDF_HVM|CDF_HAPtools/ocaml/libs/xc/xenctrl.mli +1
-1@@ -61,7 +61,7 @@ type compile_info = { compile_domain : string; compile_date : string; } -type shutdown_reason = Poweroff | Reboot | Suspend | Crash | Watchdog +type shutdown_reason = Poweroff | Reboot | Suspend | Crash | Watchdog | Soft_resettype
domain_create_flag=CDF_HVM|CDF_HAPSignature · 1 line
2.1.4
Ian Campbell
AppliedQuoted 9 lines · David Scott
Quoted 3 lines · Wei Liu
Dave, ping?
Sorry, completely forgot about this email.
Looks totally fine to me!
Acked-by David Scott <[email protected]>
Applied, thanks.