Zhenzhong Duan
5621c02d5a
vfio/common: Extract out vfio_kvm_device_[add/del]_fd
...
Introduce two new helpers, vfio_kvm_device_[add/del]_fd
which take as input a file descriptor which can be either a group fd or
a cdev fd. This uses the new KVM_DEV_VFIO_FILE VFIO KVM device group,
which aliases to the legacy KVM_DEV_VFIO_GROUP.
vfio_kvm_device_[add/del]_group then call those new helpers.
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2023-10-18 10:10:49 +02:00
..
2023-10-04 18:15:05 -04:00
2023-01-12 17:15:09 +00:00
2023-09-08 16:41:35 +01:00
2023-10-09 10:10:48 -04:00
2023-10-06 10:33:43 +02:00
2023-09-08 13:08:52 +03:00
2023-10-11 08:46:33 +01:00
2023-01-08 01:54:22 -05:00
2023-10-04 18:15:06 -04:00
2023-01-08 01:54:22 -05:00
2023-01-08 01:54:22 -05:00
2023-08-22 17:30:59 +01:00
2023-09-08 13:08:52 +03:00
2023-09-06 11:14:55 -04:00
2023-10-04 18:15:06 -04:00
2023-07-11 00:11:25 +02:00
2023-02-08 07:16:23 +01:00
2023-07-25 17:13:53 +03:00
2023-07-11 00:11:25 +02:00
2023-10-13 10:03:47 +08:00
2023-10-06 10:33:43 +02:00
2023-10-12 14:15:22 +02:00
2023-01-13 09:32:32 +01:00
2023-10-06 10:33:43 +02:00
2023-09-08 13:08:52 +03:00
2023-08-31 19:47:43 +02:00
2023-10-04 04:53:52 -04:00
2023-09-29 09:33:10 +02:00
2023-09-29 10:07:17 +02:00
2023-09-08 13:08:52 +03:00
2023-08-31 09:45:18 +01:00
2023-07-25 17:13:45 +03:00
2023-07-14 11:10:58 +02:00
2023-09-01 11:40:04 +02:00
2023-06-07 15:07:10 +01:00
2023-09-08 13:08:52 +03:00
2023-02-27 22:29:02 +01:00
2023-02-27 09:15:38 +01:00
2023-01-08 01:54:22 -05:00
2023-10-18 10:10:49 +02:00
2023-10-17 10:05:51 -04:00
2023-04-20 10:21:13 +01:00
2023-08-30 18:23:08 -07:00
2023-10-12 14:15:22 +02:00
2023-09-08 13:08:52 +03:00
2023-03-20 12:43:50 +01:00
2023-03-07 12:38:59 -05:00
2023-02-27 22:29:02 +01:00
2023-03-06 14:08:12 +00:00
2023-02-27 13:27:05 +00:00
2023-03-20 12:43:50 +01:00
2023-08-31 19:47:43 +02:00