repository: /home/avi/kvm branch: master commit 2033b0d4bbdf84931535c4ec24bc5c5fab1a91bd Author: Eddie Dong <[EMAIL PROTECTED]> Date: Mon Oct 8 18:28:50 2007 +0200
kvm: libkvm: show vcpu_id in case of unknown hw exception Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> diff --git a/user/kvmctl.c b/user/kvmctl.c index 3dee407..09ca038 100644 --- a/user/kvmctl.c +++ b/user/kvmctl.c @@ -1053,8 +1053,8 @@ again: if (1) { switch (run->exit_reason) { case KVM_EXIT_UNKNOWN: - fprintf(stderr, "unhandled vm exit: 0x%x\n", - (unsigned)run->hw.hardware_exit_reason); + fprintf(stderr, "unhandled vm exit: 0x%x vcpu_id %d\n", + (unsigned)run->hw.hardware_exit_reason, vcpu); kvm_show_regs(kvm, vcpu); abort(); break; @@ -1131,8 +1131,8 @@ again: if (1) { switch (run->exit_reason) { case KVM_EXIT_UNKNOWN: - fprintf(stderr, "unhandled vm exit: 0x%x\n", - (unsigned)run->hw.hardware_exit_reason); + fprintf(stderr, "unhandled vm exit: 0x%x vcpu_id %d\n", + (unsigned)run->hw.hardware_exit_reason, vcpu); kvm_show_regs(kvm, vcpu); abort(); break; ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-commits mailing list kvm-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-commits