[Lkw] Getting started

Rodrigo Alejandro Melo rodrigomelo9 at gmail.com
Thu Sep 14 08:38:14 EDT 2023

Hi Christoph, thanks! (it works, with a few tweaks)

First of all, I strongly recommend other attendants to do that before the
workshop! (at least, download things such as the Linux sources) If not, and
with a probably saturated connection, we will spend a lot of time.

This is the receipe to build a new qemu from the source tree:

At least on my system, to build qemu, I needed to install extra packages.
TL;DR you can run:
sudo apt install libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev
libaio-dev libusb-1.0-0-dev libspice-server-dev libnfs-dev libiscsi-dev
liblzo2-dev libseccomp-dev libattr1-dev libcap-ng-dev ninja-build

> sudo apt-get install build-essential
> git clone https://github.com/qemu/qemu
> cd qemu
> mkdir build
> cd build
 sudo apt install ninja-build meson

> ../configure --disable-werror --target-list=x86_64-softmmu
> --prefix=/opt/newqemu/
> make
> After this the kvm-jrsl.sh scripts needs to be adjusted so that
> QEMU="qemu-system-x86_64"
> line instead says:
> QEMU="/opt/newqemu/bin/qemu-system-x86_64"

And I needed to create shared (mkdir shared) to avoid an error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jrsl.org/pipermail/lkw_jrsl.org/attachments/20230914/e88e54ef/attachment.html>

More information about the LKW mailing list