Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sl45sms/e09ee281b0fb7707196fbf6de3d67e46 to your computer and use it in GitHub Desktop.
Save sl45sms/e09ee281b0fb7707196fbf6de3d67e46 to your computer and use it in GitHub Desktop.
install qemu 5.0 on ubuntu 20.04 (with io_uring)
git clone --depth 1 -b master https://git.qemu.org/git/qemu.git
sudo apt-get install git libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev libgtk-3-dev
libsdl2-dev libspice-protocol-dev libspice-server-dev libusb-dev libusbredirparser-dev libusb-1.0-0-dev libnuma-dev libcap-ng-dev libattr1-dev libaio-dev
sudo apt install libgles2-mesa-dev libxcb-composite0-dev libxcursor-dev libcairo2-dev libgbm-dev libpam0g-dev
sudo apt install xutils-dev libgl1-mesa-dev
sudo apt install libepoxy-dev
sudo apt install libepoxy-dev libepoxy0 gdm3 libgdm-dev libgdm1
sudo apt-get install libusb-dev
wget http://gr.archive.ubuntu.com/ubuntu/pool/universe/libu/liburing/liburing-dev_0.6-3_amd64.deb
wget http://gr.archive.ubuntu.com/ubuntu/pool/universe/libu/liburing/liburing1_0.6-3_amd64.deb
sudo dpkg -i liburing-dev_0.6-3_amd64.deb
sudo dpkg -i liburing-dev_0.6-3_amd64.deb
cd qemu
mkdir build
cd build
../configure
./configure --enable-kvm --disable-xen --enable-libusb --enable-debug-info --enable-debug --enable-sdl --enable-vhost-net --enable-spice --disable-debug-tcg --enable-opengl --enable-gtk --enable-numa --enable-virtfs --enable-linux-aio --enable-linux-io-uring --target-list=x86_64-softmmu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment