mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-18 13:04:36 +01:00
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>
14 lines
382 B
Bash
Executable File
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
|