Re: [PATCH v2 2/3] KVM: VMX: introduce alloc_loaded_vmcs

2018-01-29 Thread David Hildenbrand
On 27.01.2018 09:50, Paolo Bonzini wrote: > Group together the calls to alloc_vmcs and loaded_vmcs_init. Soon we'll also > allocate an MSR bitmap there. > > Signed-off-by: Paolo Bonzini > --- > arch/x86/kvm/vmx.c | 36 ++-- > 1 file changed, 22 insertions(+), 14

[PATCH v2 2/3] KVM: VMX: introduce alloc_loaded_vmcs

2018-01-27 Thread Paolo Bonzini
Group together the calls to alloc_vmcs and loaded_vmcs_init. Soon we'll also allocate an MSR bitmap there. Signed-off-by: Paolo Bonzini --- arch/x86/kvm/vmx.c | 36 ++-- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86