All Stratovirt VM shares the same pflash file by default,
and file can only be shared readonly for safety.
Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
1. add CGO compile options for
kata-runtime/kata-netmon/containerd-shim-kata-v2, including open
BIND_NOW, SP, FS compile options.
2. use pie mode to build kata-monitor
Signed-off-by: Vanient <xiadanni1@huawei.com>
(cherry picked from commit 91abc3917fa847ce1fea0273bc2d523534aee70c)