From 5a9ab39ee88bc5c136523c2549dce11a706ff562 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Tue, 22 Oct 2024 16:27:54 +0200 Subject: [PATCH] fixup! fixup! fixup! fixup! Flock: now linker errors --- flock/ctl.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/flock/ctl.c b/flock/ctl.c index 66f323e4..41001bd8 100644 --- a/flock/ctl.c +++ b/flock/ctl.c @@ -219,16 +219,10 @@ hcs_parse(struct cbor_channel *cch, enum cbor_parse_result res) htx->major_state = ~0ULL; return CPR_BLOCK_END; - case 1: + case 3: htx->major_state = 0; return CPR_MORE; - case 5: - /* Finalize the command to exec in hypervisor */ - CBOR_PARSER_ERROR("NOT IMPLEMENTED YET"); - htx->major_state = 1; - return CPR_MORE; - case 501: switch (hpc->cfg.cf.type) { @@ -238,7 +232,7 @@ hcs_parse(struct cbor_channel *cch, enum cbor_parse_result res) default: CBOR_PARSER_ERROR("Unknown machine type: %d", hpc->cfg.cf.type); } - htx->major_state = 1; + htx->major_state = 3; return CPR_MORE; case 601: @@ -250,7 +244,7 @@ hcs_parse(struct cbor_channel *cch, enum cbor_parse_result res) */ hypervisor_container_shutdown(&hpc->cch, &hpc->cfg.container); - htx->major_state = 1; + htx->major_state = 3; return CPR_MORE; default: