qemu.rst 999 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12

.. _qemu:

QEMU
====

There's an experimental QEMU image available that includes:

- phosh: phone graphical shell
- Common apps: geary, ephiphany, contacts, calls
- phone / network services: NetworkManager, ModemManager, ...

13 14
Download
--------
15

16
1. Check the last succesful job on CI https://arm01.puri.sm/job/Images/job/Image%20Build/
17

18
2. Download::
19 20 21

        wget https://arm01.puri.sm/job/Images/job/Image%20Build/133/artifact/qemu-x86_64.img.xz

22
3. Decompress it::
23 24 25

        unxz qemu-x86_64.img.xz

26
4. Run it::
27 28 29 30 31 32 33 34

        qemu-system-x86_64 -boot menu=on -drive file=qemu-x86_64.img,format=raw -vga virtio -display sdl,gl=on -m 1G -enable-kvm

   If you prefer a GUI:

        - install org.gnome.Boxes from flatpak: https://flathub.org/apps/details/org.gnome.Boxes
        - Create a new Box from archive selecting qemu-x86_64.img

35
5. Use it
36 37 38 39

.. image:: librem5fromqemu.gif
   :alt: QEMU VM running phosh and default apps

40 41
Resources
---------
42 43

- repo: https://source.puri.sm/Librem5/image-builder