diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-07-27 15:54:46 +0200 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2017-08-02 22:41:03 +0200 |
commit | 9f744c59746078280ef28163aa136ef3f625804e (patch) | |
tree | d84395d669a911da5f222f44478adaafd64d9b54 /block | |
parent | 3898da947bbaf9e7fd5816e825978d360028bba2 (diff) | |
download | linux-9f744c59746078280ef28163aa136ef3f625804e.tar.bz2 |
KVM: nVMX: do not pin the VMCS12
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.
And David Matlack noted:
This patch also fixes dirty tracking (memslot->dirty_bitmap) of the
VMCS12 page by using kvm_write_guest. nested_release_page() only marks
the struct page dirty.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
[Added David Matlack's note and nested_release_page_clean() fix.]
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions