diff options
author | Avi Kivity | 2008-05-27 15:26:01 +0200 |
---|---|---|
committer | Avi Kivity | 2008-07-20 11:42:26 +0200 |
commit | 81609e3e26508840a1b51414376f2541dd191483 (patch) | |
tree | 415e617271bc171ba5252b8d08e967bd6c088960 /include | |
parent | KVM: VMX: Enable NMI with in-kernel irqchip (diff) | |
download | kernel-qcow2-linux-81609e3e26508840a1b51414376f2541dd191483.tar.gz kernel-qcow2-linux-81609e3e26508840a1b51414376f2541dd191483.tar.xz kernel-qcow2-linux-81609e3e26508840a1b51414376f2541dd191483.zip |
KVM: Order segment register constants in the same way as cpu operand encoding
This can be used to simplify the x86 instruction decoder.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86/kvm_host.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h index bacb1e24036e..075598b4e3f3 100644 --- a/include/asm-x86/kvm_host.h +++ b/include/asm-x86/kvm_host.h @@ -109,12 +109,12 @@ enum { }; enum { + VCPU_SREG_ES, VCPU_SREG_CS, + VCPU_SREG_SS, VCPU_SREG_DS, - VCPU_SREG_ES, VCPU_SREG_FS, VCPU_SREG_GS, - VCPU_SREG_SS, VCPU_SREG_TR, VCPU_SREG_LDTR, }; |