]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "KVM: set owner of cpu and vm file operations"
authorDavid Matlack <dmatlack@google.com>
Thu, 3 Mar 2022 18:33:28 +0000 (18:33 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 29 Mar 2022 17:02:25 +0000 (13:02 -0400)
commit03367a36074cb96d018ecc4266e7fcff0fe70aaa
tree7eadada5c9f43c0bf6be1ff82caab1e5b3aeaa8b
parent87cf79539c74b7010aa8f5be0742d19142a4a7b8
Revert "KVM: set owner of cpu and vm file operations"

This reverts commit 2c67e1ebd8d0ace1120955916f4c103ad066f8b6.

Now that the KVM module's lifetime is tied to kvm.users_count, there is
no need to also tie it's lifetime to the lifetime of the VM and vCPU
file descriptors.

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220303183328.1499189-3-dmatlack@google.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/kvm_main.c