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)
commit70375c2d8fa3fb9b0b59207a9c5df1e2e1205c10
tree7eadada5c9f43c0bf6be1ff82caab1e5b3aeaa8b
parent5f6de5cbebee925a612856fce6f9182bb3eee0db
Revert "KVM: set owner of cpu and vm file operations"

This reverts commit 3d3aab1b973b01bd2a1aa46307e94a1380b1d802.

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