1. 23 6月, 2015 2 次提交
  2. 19 6月, 2015 5 次提交
  3. 18 3月, 2015 1 次提交
  4. 20 8月, 2014 1 次提交
  5. 18 6月, 2014 1 次提交
  6. 24 4月, 2014 1 次提交
    • N
      KVM: x86: Fix wrong/stuck PMU when guest does not use PMI · 671bd993
      Nadav Amit 提交于
      If a guest enables a performance counter but does not enable PMI, the
      hypervisor currently does not reprogram the performance counter once it
      overflows.  As a result the host performance counter is kept with the original
      sampling period which was configured according to the value of the guest's
      counter when the counter was enabled.
      
      Such behaviour can cause very bad consequences. The most distrubing one can
      cause the guest not to make any progress at all, and keep exiting due to host
      PMI before any guest instructions is exeucted. This situation occurs when the
      performance counter holds a very high value when the guest enables the
      performance counter. As a result the host's sampling period is configured to be
      very short. The host then never reconfigures the sampling period and get stuck
      at entry->PMI->exit loop. We encountered such a scenario in our experiments.
      
      The solution is to reprogram the counter even if the guest does not use PMI.
      Signed-off-by: NNadav Amit <namit@cs.technion.ac.il>
      Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
      671bd993
  7. 20 7月, 2013 1 次提交
  8. 02 4月, 2013 1 次提交
    • P
      pmu: prepare for migration support · afd80d85
      Paolo Bonzini 提交于
      In order to migrate the PMU state correctly, we need to restore the
      values of MSR_CORE_PERF_GLOBAL_STATUS (a read-only register) and
      MSR_CORE_PERF_GLOBAL_OVF_CTRL (which has side effects when written).
      We also need to write the full 40-bit value of the performance counter,
      which would only be possible with a v3 architectural PMU's full-width
      counter MSRs.
      
      To distinguish host-initiated writes from the guest's, pass the
      full struct msr_data to kvm_pmu_set_msr.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NGleb Natapov <gleb@redhat.com>
      afd80d85
  9. 21 7月, 2012 1 次提交
  10. 06 7月, 2012 1 次提交
  11. 10 4月, 2012 1 次提交
  12. 06 4月, 2012 1 次提交
  13. 08 3月, 2012 4 次提交
  14. 27 12月, 2011 1 次提交