Files
kata-containers/src/runtime/hack/update-generated-hypervisor-proto.sh
Yohei Ueda f9278f22c3 runtime: Support the remote hypervisor type
This patch adds the support of the remote hypervisor type.
Shim opens a Unix domain socket specified in the config file,
and sends TTPRC requests to a external process to control
sandbox VMs.

Fixes #4482

Co-authored-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
Signed-off-by: Yohei Ueda <yohei@jp.ibm.com>
2022-09-09 11:07:28 +09:00

14 lines
382 B
Bash
Executable File

#!/bin/bash
# (C) Copyright IBM Corp. 2022.
# SPDX-License-Identifier: Apache-2.0
set -o errexit -o pipefail -o nounset
cd "$(dirname "${BASH_SOURCE[0]}")/.."
protoc --gogottrpc_out=protocols/hypervisor \
--gogottrpc_opt=plugins=ttrpc+fieldpath,paths=source_relative \
-Iprotocols/hypervisor \
-I../libs/protocols/protos/gogo/protobuf \
protocols/hypervisor/hypervisor.proto