aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>2024-10-14 18:20:21 +0300
committerTimos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>2024-10-14 18:20:21 +0300
commit5d3c11bfab25ba6ffc37182df25c82d23dfcfb36 (patch)
tree42b77a5f155f64f206e07366e2cba12d4d97ab77
parent153ec0a4e0b9b426d3dbf68534c6dfa55b58ebae (diff)
Solve compatibility issue with virtio-loopback driverHEADmaster
Update IOCTL to be compatible with the corresponding driver Change-Id: Ibf6f208990bd4c7290af54d403d3a8e1f78747e4 Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
-rw-r--r--include/virtio_loopback.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/virtio_loopback.h b/include/virtio_loopback.h
index d8e68f1..ac23299 100644
--- a/include/virtio_loopback.h
+++ b/include/virtio_loopback.h
@@ -165,7 +165,7 @@
sizeof(virtio_device_info_struct_t))
#define IRQ _IOC(_IOC_WRITE, 'k', 4, sizeof(int))
#define SHARE_VQS _IOC(_IOC_WRITE, 'k', 5, sizeof(uint32_t))
-#define SHARE_COM_STRUCT _IOC(_IOC_WRITE, 'k', 6, 0)
+#define SHARE_COM_STRUCT _IOC(_IOC_WRITE, 'k', 7, 0)
#define VIRTIO_PCI_VRING_ALIGN 4096