diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2024-09-16 09:54:00 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2024-09-19 15:58:01 +0100 |
commit | 8148fb56c753908fcc41d52846f9d8e6ae5f7daf (patch) | |
tree | d6422561f1eb640e15ac73d2b778cbab53546c31 /python/scripts/vendor.py | |
parent | f2505260b35e811ce1d85678eaf020ee1b59d2d0 (diff) | |
download | qemu-8148fb56c753908fcc41d52846f9d8e6ae5f7daf.zip qemu-8148fb56c753908fcc41d52846f9d8e6ae5f7daf.tar.gz qemu-8148fb56c753908fcc41d52846f9d8e6ae5f7daf.tar.bz2 |
contrib/plugins: avoid hanging program
Although we asks for instructions per second we work in quanta and
that cannot be 0. Fail to load the plugin instead and report the
minimum IPS we can handle.
Reported-by: Elisha Hollander <just4now666666@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240916085400.1046925-19-alex.bennee@linaro.org>
Diffstat (limited to 'python/scripts/vendor.py')
0 files changed, 0 insertions, 0 deletions