summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-07-29 15:11:38 +0300
committerAvi Kivity <avi@redhat.com>2010-10-24 10:50:09 +0200
commit793d5a8d6baad9062b0a03e034944b31e50dfe5c (patch)
tree5bd6b563783cc3795fedd94a3f0c69d42a7e7767
parent42a1c5209570ead6d89abecd99ab12947a41d20a (diff)
KVM: x86 emulator: reserve group code 0
We'll be using that to distinguish between new-style and old-style groups. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
-rw-r--r--arch/x86/kvm/emulate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index edf09386110..5e496127a01 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -105,7 +105,7 @@
#define X16(x) X8(x), X8(x)
enum {
- Group1, Group1A, Group3, Group4, Group5, Group7, Group8, Group9,
+ NoGrp, Group1, Group1A, Group3, Group4, Group5, Group7, Group8, Group9,
};
struct opcode {