pmbootstrap/pmb
Pablo Castellano c855ee095b Qemu support for the QXL driver and SPICE (#481)
* pmb.helpers.run: support running processes in background
* enable QXL driver support in the linux kernel configurations so
that we can also use SPICE to connect to the VM.

QXL is a paravirtual graphics driver with 2D support

The SPICE project aims to provide a complete open source solution for remote
access to virtual machines in a seamless way.

Both DRM_QXL and DRM_BOCHS are enabled as modules.
According to [1], on Linux guests, the qxl and bochs_drm kernel modules
must be loaded in order to gain a decent performance

* qemu: add new option --spice to connect to VM using a SPICE client

If specified, 'pmbootstrap qemu' will look for some SPICE client in the
user's PATH and run qemu using the QXL driver.

Currently supported spice clients are 'spicy' and 'remote-viewer' but
adding support for more clients can be easily done.

qemu with qxl support will run on port 8077/tcp, which doesn't belong to
any well-known service and represents 'PM' in decimal.

References:
[0] https://www.linux-kvm.org/page/SPICE
[1] https://wiki.archlinux.org/index.php/QEMU#qxl
[2] https://wiki.archlinux.org/index.php/QEMU#SPICE
[3] https://github.com/postmarketOS/pmbootstrap/issues/453 (partially fixed)
2017-09-26 20:52:00 +00:00
..
aportgen Make gcc-aarch64 reproducible (#366) 2017-08-12 14:06:02 +00:00
build Fix #151: git ambiguous argument error (#531) 2017-09-25 22:05:29 +00:00
challenge Fix #271: properly resolve symlinks in all paths (#329) 2017-08-15 14:08:48 +00:00
chroot zap: add `-d`/`--distfiles` argument to clear downloaded files cache (#576) 2017-09-14 18:28:10 +00:00
config Adjust luksFormat options to reduce time to open luks device on boot (#430) 2017-09-19 19:46:18 +00:00
export Alias: "pmbootstrap export" for "pmbootstrap flasher export" (#417) 2017-09-06 20:14:03 +00:00
flasher Close #554: kernel config checking (#589) 2017-09-18 21:36:54 +00:00
helpers Qemu support for the QXL driver and SPICE (#481) 2017-09-26 20:52:00 +00:00
install Improve message for SSH key copying during install (#624) 2017-09-24 14:02:17 +00:00
parse Qemu support for the QXL driver and SPICE (#481) 2017-09-26 20:52:00 +00:00
qemu Qemu support for the QXL driver and SPICE (#481) 2017-09-26 20:52:00 +00:00
__init__.py Close #327: Add initial setup.py (#443) 2017-09-02 19:30:40 +00:00