Page MenuHomePhabricator

Compiling
Updated 2,389 Days AgoPublic

Compiling QEMU


sudo apt install linux-tools-common #ubuntu

sudo apt install nano util-linux  cpufrequtils lm-sensors libusb-dev git \
libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev git-email libcap-dev libcap-ng-dev \
libcurl4-gnutls-dev libgtk-3-dev valgrind xfslibs-dev libnfs-dev libiscsi-dev libsdl2-dev \
libncurses5-dev libaio-dev libjemalloc-dev libjemalloc* libusb-1.0-0-dev \
ipxe-qemu libbluetooth3 libbrlapi0.6 libcaca0 libcacard0 librados2 librbd1 libsdl1.2debian \
libspice-server1 libxenstore3.0 libyajl2 msr-tools seabios sharutils \
libnuma-dev gcc g++ build-essential flex bison

wget https://download.qemu.org/qemu-2.10.1.tar.xz

tar xvf qemu-2.10.1.tar.xz

cd qemu-2.10.1

./configure --enable-jemalloc \
--enable-libnfs \
--enable-numa \
--enable-guest-agent \
--prefix=/usr/local/qemu-2.10 \
--target-list=x86_64-softmmu

make -j4

make install


#Update OVMF from artful
wget -O ovmf.deb http://ftp.osuosl.org/pub/ubuntu/pool/universe/e/edk2/ovmf_0~20180205.c0d9813c-2_all.deb
dpkg -i ovmf.deb
Last Author
newellz2
Last Edited
Mar 19 2018, 4:10 PM