Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1698219

Re: [PATCH] KVM: nVMX: do not pin the VMCS12

From David Hildenbrand <david@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] KVM: nVMX: do not pin the VMCS12
Date 2017-07-27 20:00 +0200
Message-ID <u7VeN-Gr-5@gated-at.bofh.it> (permalink)
References <u7Rux-6NU-1@gated-at.bofh.it>
Organization Red Hat GmbH

Show all headers | View raw


On 27.07.2017 15:54, Paolo Bonzini wrote:
> Since the current implementation of VMCS12 does a memcpy in and out
> of guest memory, we do not need current_vmcs12 and current_vmcs12_page
> anymore.  current_vmptr is enough to read and write the VMCS12.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

This looks like the right thing to do!

(and as mentioned, also properly marks the page as dirty)

Reviewed-by: David Hildenbrand <david@redhat.com>

-- 

Thanks,

David

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] KVM: nVMX: do not pin the VMCS12 Paolo Bonzini <pbonzini@redhat.com> - 2017-07-27 16:00 +0200
  Re: [PATCH] KVM: nVMX: do not pin the VMCS12 David Matlack <dmatlack@google.com> - 2017-07-27 19:30 +0200
    Re: [PATCH] KVM: nVMX: do not pin the VMCS12 Wanpeng Li <kernellwp@gmail.com> - 2017-07-28 03:30 +0200
    Re: [PATCH] KVM: nVMX: do not pin the VMCS12 Paolo Bonzini <pbonzini@redhat.com> - 2017-07-28 09:00 +0200
      Re: [PATCH] KVM: nVMX: do not pin the VMCS12 Christian Borntraeger <borntraeger@de.ibm.com> - 2017-07-28 09:30 +0200
  Re: [PATCH] KVM: nVMX: do not pin the VMCS12 David Hildenbrand <david@redhat.com> - 2017-07-27 20:00 +0200

csiph-web