* tests/ioctl_kvm_run_common.c (run_kvm): Print
hardware_entry_failure_reason field of kvm_run
when KVM_RUN is failed with KVM_EXIT_FAIL_ENTRY.
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
run->mmio.data[4], run->mmio.data[5],
run->mmio.data[6], run->mmio.data[7],
run->mmio.len, run->mmio.is_write);
+ case KVM_EXIT_FAIL_ENTRY:
+ error_msg_and_fail("Got an unexpected FAIL_ENTRY exit:"
+ " hardware_entry_failure_reason %" PRI__x64,
+ run->fail_entry.hardware_entry_failure_reason);
default:
error_msg_and_fail("exit_reason = %#x",