aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2020-11-17 11:39:59 +0000
committerJohn Levon <levon@movementarian.org>2020-11-18 10:30:51 +0000
commit943fe77b8099d4a9c5423320dc471a4ac14c634b (patch)
tree7d2b754348633f614ea0fe4b67e0e25bae1aa1b6 /lib
parent7085f28d6596dc12d82ea4386d106e340490d3fe (diff)
downloadlibvfio-user-943fe77b8099d4a9c5423320dc471a4ac14c634b.zip
libvfio-user-943fe77b8099d4a9c5423320dc471a4ac14c634b.tar.gz
libvfio-user-943fe77b8099d4a9c5423320dc471a4ac14c634b.tar.bz2
small cleanups post-muser.ko removal
Diffstat (limited to 'lib')
-rw-r--r--lib/muser.h1
-rw-r--r--lib/muser_ctx.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/muser.h b/lib/muser.h
index 79d5559..59bc8de 100644
--- a/lib/muser.h
+++ b/lib/muser.h
@@ -248,7 +248,6 @@ typedef union {
} lm_cap_t;
typedef enum {
- LM_TRANS_KERNEL,
LM_TRANS_SOCK,
LM_TRANS_MAX
} lm_trans_t;
diff --git a/lib/muser_ctx.c b/lib/muser_ctx.c
index a9a6bdb..1a9b86d 100644
--- a/lib/muser_ctx.c
+++ b/lib/muser_ctx.c
@@ -2481,7 +2481,7 @@ lm_ctx_create(const lm_dev_info_t *dev_info)
}
if (dev_info->trans != LM_TRANS_SOCK) {
- errno = EINVAL;
+ errno = ENOTSUP;
return NULL;
}