]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf66e852ff7d0d890e29bf3cdfa016c3b458d5f5
treea430b333541507c48abd208144944b5445050722
parentf8ab535d99e9c84b6356b3aa5a08e76a66996cd9
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