We can add qemu into the container so that there's no need to install
it everytime we run a test.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
nasm \
gnupg \
apt-transport-https \
+ # for test phase, qemu-smoke-* jobs
+ qemu-system-x86 \
&& \
apt-get autoremove -y && \
apt-get clean && \
# variant should be either pv or pvh
variant=$1
-# Install QEMU
-export DEBIAN_FRONTENT=noninteractive
-apt-get -qy update
-apt-get -qy install qemu-system-x86
-
# Clone and build XTF
git clone https://xenbits.xen.org/git-http/xtf.git
cd xtf && make -j$(nproc) && cd -