git - net-next plumbings
summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorJike Song <jike.song@intel.com>2016-12-01 13:20:07 +0800
committerAlex Williamson <alex.williamson@redhat.com>2016-12-01 10:42:17 -0700
commit2fc1bec15883537cf8b35fd628cca33ca25736a5 (patch)
tree21d4b73901fe4662c38ce85b0f5285a2e09bdad7 /virt
parentccd46dbae77dbf0d33f42e04b59536f108c395e8 (diff)
kvm: set/clear kvm to/from vfio_group when group add/delete
Sometimes users need to be aware when a vfio_group attaches to a KVM or detaches from it. KVM already calls get/put method from vfio to manipulate the vfio_group reference, it can notify vfio_group in a similar way. Cc: Kirti Wankhede <kwankhede@nvidia.com> Cc: Xiao Guangrong <guangrong.xiao@linux.intel.com> Signed-off-by: Jike Song <jike.song@intel.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'virt')