search for: kvm_mmu_sync_roots

Displaying 8 results from an estimated 8 matches for "kvm_mmu_sync_roots".

2016 Aug 22
2
Nested KVM issue
...e baremetal shows that most of the CPU time is in _raw_spin_lock Children Self Command Shared Object Symbol - 93.62% 93.62% qemu-kvm [kernel.kallsyms] [k] _raw_spin_lock - _raw_spin_lock + 45.30% kvm_mmu_sync_roots + 28.49% kvm_mmu_load + 25.00% mmu_free_roots + 1.12% tdp_page_fault ?n joi, 18 aug. 2016 la 11:59, Laurentiu Soica <laurentiu at soica.ro> a scris: > I've tried with KSM disabled and nothing changed. > > I've upgraded KVM to qemu-kvm-ev. I'm wai...
2016 Aug 22
0
Nested KVM issue
...lock > > Children Self Command Shared Object > Symbol > - 93.62% > 93.62% qemu-kvm [kernel.kallsyms] [k] > _raw_spin_lock > > > - _raw_spin_lock > > > + 45.30% kvm_mmu_sync_roots > > > + 28.49% kvm_mmu_load > > > + 25.00% mmu_free_roots > > > + 1.12% tdp_page_fault > > ?n joi, 18 aug. 2016 la 11:59, Laurentiu Soica a > scris: > >> I've tried with KSM disabled and nothing changed. >> >> I...
2020 Feb 07
0
[RFC PATCH v7 60/78] KVM: introspection: add KVMI_VCPU_CONTROL_CR and KVMI_EVENT_CR
...id_enabled = kvm_read_cr4_bits(vcpu, X86_CR4_PCIDE); @@ -961,7 +968,7 @@ int kvm_set_cr3(struct kvm_vcpu *vcpu, unsigned long cr3) } #endif - if (cr3 == kvm_read_cr3(vcpu) && !pdptrs_changed(vcpu)) { + if (cr3 == old_cr3 && !pdptrs_changed(vcpu)) { if (!skip_tlb_flush) { kvm_mmu_sync_roots(vcpu); kvm_make_request(KVM_REQ_TLB_FLUSH, vcpu); @@ -976,6 +983,9 @@ int kvm_set_cr3(struct kvm_vcpu *vcpu, unsigned long cr3) !load_pdptrs(vcpu, vcpu->arch.walk_mmu, cr3)) return 1; + if (!kvmi_cr_event(vcpu, 3, old_cr3, &cr3)) + return 1; + kvm_mmu_new_cr3(vcpu, cr3, skip_...
2016 Aug 17
2
Nested KVM issue
For myself KSM is unpredictable feature. The problem is Compute, just this node does "copy on write" , so only Compute. My concern exactly is where would it lead to worse or better Guest behavior ? I am not expecting complete fix. I would track via top/htop and dmesg via Cron on 1-2 hr period. ________________________________ From: centos-virt-bounces at centos.org
2020 Feb 07
78
[RFC PATCH v7 00/78] VM introspection
The KVM introspection subsystem provides a facility for applications running on the host or in a separate VM, to control the execution of other VMs (pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.), alter the page access bits in the shadow page tables (only for the hardware backed ones, eg. Intel's EPT) and receive notifications when events of interest have taken place
2020 Jul 21
87
[PATCH v9 00/84] VM introspection
The KVM introspection subsystem provides a facility for applications running on the host or in a separate VM, to control the execution of other VMs (pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.), alter the page access bits in the shadow page tables (only for the hardware backed ones, eg. Intel's EPT) and receive notifications when events of interest have taken place
2019 Aug 09
117
[RFC PATCH v6 00/92] VM introspection
The KVM introspection subsystem provides a facility for applications running on the host or in a separate VM, to control the execution of other VM-s (pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.), alter the page access bits in the shadow page tables (only for the hardware backed ones, eg. Intel's EPT) and receive notifications when events of interest have taken place
2019 Aug 09
117
[RFC PATCH v6 00/92] VM introspection
The KVM introspection subsystem provides a facility for applications running on the host or in a separate VM, to control the execution of other VM-s (pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.), alter the page access bits in the shadow page tables (only for the hardware backed ones, eg. Intel's EPT) and receive notifications when events of interest have taken place