summary refs log tree commit diff stats
path: root/python/qemu/console_socket.py
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2020-12-10 19:04:13 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2021-01-02 21:03:09 +0100
commitc87ea11631119175a581b17900ea62e127638352 (patch)
tree1058550b59714cddd88e08a89564b6bc8be513ad /python/qemu/console_socket.py
parent0e8e77d487b3d8ae33158e61c30e1fe5c753a114 (diff)
downloadfocaccia-qemu-c87ea11631119175a581b17900ea62e127638352.tar.gz
focaccia-qemu-c87ea11631119175a581b17900ea62e127638352.zip
configure: add --without-default-features
By default QEMU enables a lot of features if it can probe and find the
support libraries. It also enables a bunch of features by default.
This patch adds the ability to build --without-default-features which
can be paired with a --without-default-devices for a barely functional
build.

The main use case for this is testing our build assumptions and for
minimising the amount of stuff you build if you just want to test a
particular feature on your relatively slow emulated test system. On
it's own I go from:

  $ ls -lh qemu-system-aarch64
  -rwxr-xr-x 1 alex alex 120M Dec 10 12:45 qemu-system-aarch64*
  $ ldd qemu-system-aarch64 | wc -l
  170

to:

  $ ls -lh qemu-aarch64
  -rwxr-xr-x 1 alex alex 43M Dec 10 12:41 qemu-aarch64*
  $ ldd qemu-system-aarch64 | wc -l
  57

which is still able to run my default Debian ARM64 machine with a lot
less fat involved.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Thomas Huth <thuth@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20201210190417.31673-5-alex.bennee@linaro.org>
Diffstat (limited to 'python/qemu/console_socket.py')
0 files changed, 0 insertions, 0 deletions