diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2020-06-01 04:06:16 -0700 |
---|---|---|
committer | Thanos Makatos <thanos.makatos@nutanix.com> | 2020-06-01 04:06:16 -0700 |
commit | 2e04bfe99e3a427452eacde5fb3ba6825115269a (patch) | |
tree | 13a97bf7605ab86180088573d8388ed75b7e6eb0 | |
parent | bcae66c41dd986e03a01453ffc896c6bb48ba861 (diff) | |
download | libvfio-user-2e04bfe99e3a427452eacde5fb3ba6825115269a.zip libvfio-user-2e04bfe99e3a427452eacde5fb3ba6825115269a.tar.gz libvfio-user-2e04bfe99e3a427452eacde5fb3ba6825115269a.tar.bz2 |
let the control stack create IOMMU group symlink under /de/vfio
-rw-r--r-- | lib/libmuser.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/libmuser.c b/lib/libmuser.c index 9d7ee21..b1d6a33 100644 --- a/lib/libmuser.c +++ b/lib/libmuser.c @@ -202,12 +202,6 @@ open_sock(lm_ctx_t *lm_ctx, const char *iommu_dir) return -1; } - /* TODO this could be done by the control stack */ - /* crealte symlink /dev/vfio/<IOMMU group>/iommu_group -> ../<IOMMU group> */ - if ((ret = symlinkat(lm_ctx->iommu_dir, lm_ctx->iommu_dir_fd, IOMMU_GRP_NAME)) == -1) { - return -1; - } - /* create control socket */ if ((ret = openat(lm_ctx->iommu_dir_fd, MUSER_SOCK, O_WRONLY | O_CREAT, 0666)) == -1) { return -1; |