]> 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)
commit56934ebdd6b77c1f28b61f0116e6ebb63f9d0a28
tree7eadada5c9f43c0bf6be1ff82caab1e5b3aeaa8b
parent22caef8ece4b7399cf56a3e2b2add4a58ecf4e4a
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