OSDN Git Service

kvm: vmx: Change vmcs_field_type to vmcs_field_width
authorJim Mattson <jmattson@google.com>
Fri, 22 Dec 2017 20:12:16 +0000 (12:12 -0800)
committerRadim Krčmář <rkrcmar@redhat.com>
Tue, 16 Jan 2018 15:50:01 +0000 (16:50 +0100)
commitd37f4267a79f7d423103cb9fdd67a4a3a8194335
treea430b333541507c48abd208144944b5445050722
parent5b15706dbf5bdf0c9708ca9bb1f37e95e315daf2
kvm: vmx: Change vmcs_field_type to vmcs_field_width

Per the SDM, "[VMCS] Fields are grouped by width (16-bit, 32-bit,
etc.) and type (guest-state, host-state, etc.)." Previously, the width
was indicated by vmcs_field_type. To avoid confusion when we start
dealing with both field width and field type, change vmcs_field_type
to vmcs_field_width.

Signed-off-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c