From: Avi Kivity <avi@qumranet.com>
To: kvm-devel@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: [PATCH 2/2] KVM: Make enum values in userspace interface explicit
Date: Mon, 27 Nov 2006 08:49:24 -0000 [thread overview]
Message-ID: <20061127084924.D0A7125015E@cleopatra.q> (raw)
In-Reply-To: <456AA620.4000201@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.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 */
prev parent reply other threads:[~2006-11-27 8:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-27 8:47 [PATCH 0/2] KVM: Sync with -mm tree Avi Kivity
2006-11-27 8:48 ` [PATCH 1/2] KVM: Clarify licensing Avi Kivity
2006-11-27 8:49 ` Avi Kivity [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061127084924.D0A7125015E@cleopatra.q \
--to=avi@qumranet.com \
--cc=akpm@osdl.org \
--cc=kvm-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®