diff options
| author | Paolo Bonzini <[email protected]> | 2017-07-27 15:54:46 +0200 |
|---|---|---|
| committer | Radim Krčmář <[email protected]> | 2017-08-02 22:41:03 +0200 |
| commit | 9f744c59746078280ef28163aa136ef3f625804e (patch) | |
| tree | d84395d669a911da5f222f44478adaafd64d9b54 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | 3898da947bbaf9e7fd5816e825978d360028bba2 (diff) | |
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 <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
[Added David Matlack's note and nested_release_page_clean() fix.]
Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions