Re: [PATCH 04/44] KVM: Teardown VFIO ops earlier in kvm_exit()

2022-11-07 Thread Eric Farman
On Wed, 2022-11-02 at 23:18 +, Sean Christopherson wrote: > Move the call to kvm_vfio_ops_exit() further up kvm_exit() to try and > bring some amount of symmetry to the setup order in kvm_init(), and > more > importantly so that the arch hooks are invoked dead last by > kvm_exit(). > This will

Re: [PATCH 04/44] KVM: Teardown VFIO ops earlier in kvm_exit()

2022-11-03 Thread Cornelia Huck
On Wed, Nov 02 2022, Sean Christopherson wrote: > Move the call to kvm_vfio_ops_exit() further up kvm_exit() to try and > bring some amount of symmetry to the setup order in kvm_init(), and more > importantly so that the arch hooks are invoked dead last by kvm_exit(). > This will allow arch code

[PATCH 04/44] KVM: Teardown VFIO ops earlier in kvm_exit()

2022-11-02 Thread Sean Christopherson
Move the call to kvm_vfio_ops_exit() further up kvm_exit() to try and bring some amount of symmetry to the setup order in kvm_init(), and more importantly so that the arch hooks are invoked dead last by kvm_exit(). This will allow arch code to move away from the arch hooks without any change in ord