Merge branch 'kvm-5.20-early'
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Jun 2022 15:38:12 +0000 (11:38 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Jun 2022 15:38:12 +0000 (11:38 -0400)
s390:

* add an interface to provide a hypervisor dump for secure guests

* improve selftests to show tests

x86:

* Intel IPI virtualization

* Allow getting/setting pending triple fault with KVM_GET/SET_VCPU_EVENTS

* PEBS virtualization

* Simplify PMU emulation by just using PERF_TYPE_RAW events

* More accurate event reinjection on SVM (avoid retrying instructions)

* Allow getting/setting the state of the speaker port data bit

* Rewrite gfn-pfn cache refresh

* Refuse starting the module if VM-Entry/VM-Exit controls are inconsistent

* "Notify" VM exit

1  2 
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/lapic.c
arch/x86/kvm/svm/nested.c
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/svm.h
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/include/x86_64/processor.h
virt/kvm/kvm_main.c

@@@ -1364,9 -1330,8 +1394,10 @@@ struct kvm_vcpu_stat 
        u64 nested_run;
        u64 directed_yield_attempted;
        u64 directed_yield_successful;
 +      u64 preemption_reported;
 +      u64 preemption_other;
        u64 guest_mode;
+       u64 notify_window_exits;
  };
  
  struct x86_instruction_info;
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -296,9 -284,8 +284,10 @@@ const struct _kvm_stats_desc kvm_vcpu_s
        STATS_DESC_COUNTER(VCPU, nested_run),
        STATS_DESC_COUNTER(VCPU, directed_yield_attempted),
        STATS_DESC_COUNTER(VCPU, directed_yield_successful),
-       STATS_DESC_ICOUNTER(VCPU, guest_mode)
 +      STATS_DESC_COUNTER(VCPU, preemption_reported),
 +      STATS_DESC_COUNTER(VCPU, preemption_other),
+       STATS_DESC_ICOUNTER(VCPU, guest_mode),
+       STATS_DESC_COUNTER(VCPU, notify_window_exits),
  };
  
  const struct kvm_stats_header kvm_vcpu_stats_header = {
Simple merge
Simple merge