File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
src/cloud-native/kata-containers Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ # Kata-Containers On openEuler RISC-V 64-bit
2+
3+ If you are verifying kata-containers' availability on openEuler RISC-V 64-bit
4+ system, using VMM except for QEMU, you will need a QEMU with version greater
5+ than or equal to v9.0.2 for that purpose.
6+
7+ ## Prepare QEMU
8+
9+ ``` sh
10+ # Install dependencies to build and run QEMU
11+ DEBIAN_FRONTEND=" noninteractive" apt-get install --no-install-recommends -y \
12+ git python3 python3-pip ninja-build build-essential pkg-config curl bc jq \
13+ libslirp-dev libfdt-dev libglib2.0-dev libssl-dev libpixman-1-dev \
14+ flex bison
15+
16+ # Clone QEMU source code repository
17+ git clone --depth 1 --branch v9.1.0 https://gitlab.com/qemu-project/qemu.git
18+
19+ pushd qemu
20+ # Prepare directory to for QEMU to be installed
21+ mkdir -p /opt/qemu
22+ # Build and install QEMU
23+ ./configure --prefix=/opt/qemu && make -j$( nproc)
24+ # This requires root privilege
25+ sudo make install
26+ popd
27+ # Clean up
28+ rm -rf qemu
29+
30+ # Add line below to your .bashrc (.zshrc or scripts in profile.d/ whatever)
31+ export PATH=$PATH :/opt/qemu/bin
32+
33+ . .bashrc
34+ ```
You can’t perform that action at this time.
0 commit comments