commit e634910140a7e8a55322cd6a1d94fcfd77d9eae0
Author: root <[EMAIL PROTECTED](none)>
Date:   Mon Oct 8 16:52:01 2007 +0800

    show vcpu_id in case of unknown hw exception.
    
    Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]>

diff --git a/user/kvmctl.c b/user/kvmctl.c
index 3dee407..eeddb54 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;

Attachment: reset-u0.patch
Description: reset-u0.patch

-------------------------------------------------------------------------
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-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to