summary refs log tree commit diff stats
path: root/python/qemu/utils
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2023-05-10 23:54:15 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2023-05-18 08:53:51 +0200
commit4695a22e9adb0c9a96465109a17da10c17cf2a67 (patch)
tree89495aa376df1e4557e75b28beacceab0da8016f /python/qemu/utils
parentc5538eed12e2e427e3715b39cca46c00afcde78d (diff)
downloadfocaccia-qemu-4695a22e9adb0c9a96465109a17da10c17cf2a67.tar.gz
focaccia-qemu-4695a22e9adb0c9a96465109a17da10c17cf2a67.zip
mkvenv: add --diagnose option to explain "ensure" failures
This is a routine that is designed to print some usable info for human
beings back out to the terminal if/when "mkvenv ensure" fails to locate
or install a package during configure time, such as meson or sphinx.

Since we are requiring that "meson" and "sphinx" are installed to the
same Python environment as QEMU is configured to build with, this can
produce some surprising failures when things are mismatched. This method
is here to try and ease that sting by offering some actionable
diagnosis.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20230511035435.734312-8-jsnow@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'python/qemu/utils')
0 files changed, 0 insertions, 0 deletions