[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20061127084924.D0A7125015E@cleopatra.q>
Date: Mon, 27 Nov 2006 08:49:24 -0000
From: Avi Kivity <avi@...ranet.com>
To: kvm-devel@...ts.sourceforge.net
Cc: linux-kernel@...r.kernel.org, akpm@...l.org
Subject: [PATCH 2/2] KVM: Make enum values in userspace interface explicit
Signed-off-by: Avi Kivity <avi@...ranet.com>
--- linux-2.6/include/linux/kvm.h 2006-11-27 10:31:40.000000000 +0200
+++ linux-2.6/include/linux/kvm.h 2006-11-19 12:25:35.000000000 +0200
@@ -36,13 +36,13 @@
#define KVM_EXIT_TYPE_VM_EXIT 2
enum kvm_exit_reason {
- KVM_EXIT_UNKNOWN,
- KVM_EXIT_EXCEPTION,
- KVM_EXIT_IO,
- KVM_EXIT_CPUID,
- KVM_EXIT_DEBUG,
- KVM_EXIT_HLT,
- KVM_EXIT_MMIO,
+ KVM_EXIT_UNKNOWN = 0,
+ KVM_EXIT_EXCEPTION = 1,
+ KVM_EXIT_IO = 2,
+ KVM_EXIT_CPUID = 3,
+ KVM_EXIT_DEBUG = 4,
+ KVM_EXIT_HLT = 5,
+ KVM_EXIT_MMIO = 6,
};
/* for KVM_RUN */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists