From: Paolo Bonzini Date: Fri, 8 Dec 2023 18:13:45 +0000 (-0500) Subject: Merge tag 'kvm-x86-fixes-6.7-rcN' of https://github.com/kvm-x86/linux into kvm-master X-Git-Tag: v6.7-rc5~4^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6254eebad4bedd3ac258a7e0710ec9fb28d8dbe9;p=thirdparty%2Flinux.git Merge tag 'kvm-x86-fixes-6.7-rcN' of https://github.com/kvm-x86/linux into kvm-master KVM fixes for 6.7-rcN: - When checking if a _running_ vCPU is "in-kernel", i.e. running at CPL0, get the CPL directly instead of relying on preempted_in_kernel, which is valid if and only if the vCPU was preempted, i.e. NOT running. - Set .owner for various KVM file_operations so that files refcount the KVM module until KVM is done executing _all_ code, including the last few instructions of kvm_put_kvm(). And then revert the misguided attempt to rely on "struct kvm" refcounts to pin KVM-the-module. - Fix a benign "return void" that was recently introduced. --- 6254eebad4bedd3ac258a7e0710ec9fb28d8dbe9