char rc_buf;
char *migration_domname;
struct domain_create dom_info;
- const char *ha = checkpointed == LIBXL_CHECKPOINTED_STREAM_COLO ?
- "COLO" : "Remus";
signal(SIGPIPE, SIG_IGN);
/* if we get SIGPIPE we'd rather just have it as an error */
switch (checkpointed) {
case LIBXL_CHECKPOINTED_STREAM_REMUS:
case LIBXL_CHECKPOINTED_STREAM_COLO:
+ {
+ const char *ha = checkpointed == LIBXL_CHECKPOINTED_STREAM_COLO ?
+ "COLO" : "Remus";
/* If we are here, it means that the sender (primary) has crashed.
* TODO: Split-Brain Check.
*/
ha, common_domname, domid, rc);
exit(rc ? EXIT_FAILURE : EXIT_SUCCESS);
+ }
default:
/* do nothing */
break;