mbox series

[kvmtool,v1,0/2] Error handling fixes

Message ID 20250120161800.30270-1-alexandru.elisei@arm.com (mailing list archive)
Headers show
Series Error handling fixes | expand

Message

Alexandru Elisei Jan. 20, 2025, 4:17 p.m. UTC
Two fixes for how kvmtool handles errors, both found while working on
integrating kvmtool with the kvm-unit-tests automatic test runner (patches
incoming).

The first patch is needed so kvm-unit-tests can detect when a test failed.

The second is just to make it easier to interpret a particular error message.

Alexandru Elisei (2):
  Propagate the error code from any VCPU thread
  Do not a print a warning on failing host<->guest address translation

 builtin-run.c         |  9 +++++----
 include/kvm/kvm-cpu.h |  2 +-
 kvm-cpu.c             | 17 ++++++++++-------
 kvm.c                 |  4 ++--
 4 files changed, 18 insertions(+), 14 deletions(-)


base-commit: 6d754d01fe2cb366f3b636d8a530f46ccf3b10d8