aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>2024-09-11 17:23:20 +0300
committerTimos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>2024-09-17 11:39:28 +0300
commit1cc834724919caf5ea21c146b29f62b6cd213db7 (patch)
treee8662e4eb5001cb4133926d70ee23dd610f657a3
parent9982da4e9ee4f920c51af694ca813a69979e58e8 (diff)
Update virtio-loopback-adapter
Updates [v1]: - The adapter works with the multi-device loopback - Remove unnecessary ioctl - Increase ram limits - Update licenses Bug-AGL: SPEC-4834 Change-Id: I90fb610d62f9a948eb7e6146f5f8ca5d3e4feeb0 Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
-rw-r--r--adapter.c2
-rw-r--r--adapter.h2
-rw-r--r--vhost_user_can.c2
-rw-r--r--vhost_user_can.h2
-rw-r--r--vhost_user_console.c2
-rw-r--r--vhost_user_console.h2
-rw-r--r--vhost_user_gpio.c2
-rw-r--r--vhost_user_gpio.h2
-rw-r--r--vhost_user_loopback.h2
-rw-r--r--vhost_user_sound.c2
-rw-r--r--vhost_user_sound.h2
-rw-r--r--virtio_loopback.h3
12 files changed, 12 insertions, 13 deletions
diff --git a/adapter.c b/adapter.c
index c944e1d..1dbde9b 100644
--- a/adapter.c
+++ b/adapter.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2022-2024 Virtual Open Systems SAS
+ * Copyright 2022-2023 Virtual Open Systems SAS
*
* Authors:
* Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
diff --git a/adapter.h b/adapter.h
index 67a64df..99a5856 100644
--- a/adapter.h
+++ b/adapter.h
@@ -1,6 +1,6 @@
/*
*
- * Copyright (c) 2022-2024 Virtual Open Systems SAS.
+ * Copyright (c) 2022-2023 Virtual Open Systems SAS.
*
* Author:
* Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
diff --git a/vhost_user_can.c b/vhost_user_can.c
index 251eba0..c645948 100644
--- a/vhost_user_can.c
+++ b/vhost_user_can.c
@@ -5,7 +5,7 @@
* https://github.com/OpenSynergy/qemu/tree/virtio-can-spec-rfc-v3
*
* Copyright (C) 2021-2023 OpenSynergy GmbH
- * Copyright (c) 2023-2024 Virtual Open Systems SAS.
+ * Copyright (c) 2023 Virtual Open Systems SAS.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/vhost_user_can.h b/vhost_user_can.h
index 4f37b85..a4615be 100644
--- a/vhost_user_can.h
+++ b/vhost_user_can.h
@@ -5,7 +5,7 @@
* https://github.com/OpenSynergy/qemu/tree/virtio-can-spec-rfc-v3
*
* Copyright (C) 2021-2023 OpenSynergy GmbH
- * Copyright (c) 2023-2024 Virtual Open Systems SAS.
+ * Copyright (c) 2023 Virtual Open Systems SAS.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/vhost_user_console.c b/vhost_user_console.c
index 2997b8d..ac453b5 100644
--- a/vhost_user_console.c
+++ b/vhost_user_console.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2023-2024 Virtual Open Systems SAS.
+ * Copyright (c) 2023 Virtual Open Systems SAS.
*
* This work is licensed under the terms of the GNU GPL, version 2 or
* (at your option) any later version. See the COPYING file in the
diff --git a/vhost_user_console.h b/vhost_user_console.h
index e0e40e0..f1a03eb 100644
--- a/vhost_user_console.h
+++ b/vhost_user_console.h
@@ -1,6 +1,6 @@
/*
*
- * Copyright (c) 2023-2024 Virtual Open Systems SAS.
+ * Copyright (c) 2023 Virtual Open Systems SAS.
*
* This work is licensed under the terms of the GNU GPL, version 2 or
* (at your option) any later version. See the COPYING file in the
diff --git a/vhost_user_gpio.c b/vhost_user_gpio.c
index 66417ae..fd525fe 100644
--- a/vhost_user_gpio.c
+++ b/vhost_user_gpio.c
@@ -3,7 +3,7 @@
*
* Copyright (c) 2022 Viresh Kumar <viresh.kumar@linaro.org>
*
- * Copyright (c) 2023-2024 Virtual Open Systems SAS.
+ * Copyright (c) 2023 Virtual Open Systems SAS.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/vhost_user_gpio.h b/vhost_user_gpio.h
index 6d80446..7bf8ac8 100644
--- a/vhost_user_gpio.h
+++ b/vhost_user_gpio.h
@@ -1,7 +1,7 @@
/*
* Based on virtio-gpio.h of QEMU project
*
- * Copyright (c) 2023-2024 Virtual Open Systems SAS.
+ * Copyright (c) 2023 Virtual Open Systems SAS.
*
* This work is licensed under the terms of the GNU GPL, version 2 or
* (at your option) any later version. See the COPYING file in the
diff --git a/vhost_user_loopback.h b/vhost_user_loopback.h
index 4a868c6..14919e1 100644
--- a/vhost_user_loopback.h
+++ b/vhost_user_loopback.h
@@ -120,7 +120,7 @@ struct vhost_dev {
};
-#define VHOST_USER_MAX_RAM_SLOTS 16
+#define VHOST_USER_MAX_RAM_SLOTS 32
typedef uint64_t ram_addr_t;
typedef struct RAMBlock RAMBlock;
diff --git a/vhost_user_sound.c b/vhost_user_sound.c
index 42b424b..d9f6a98 100644
--- a/vhost_user_sound.c
+++ b/vhost_user_sound.c
@@ -3,7 +3,7 @@
*
* Copyright 2020 Red Hat, Inc.
*
- * Copyright (c) 2023-2024 Virtual Open Systems SAS.
+ * Copyright (c) 2023 Virtual Open Systems SAS.
*
* This work is licensed under the terms of the GNU GPL, version 2 or
* (at your option) any later version. See the COPYING file in the
diff --git a/vhost_user_sound.h b/vhost_user_sound.h
index a31c082..d802bc0 100644
--- a/vhost_user_sound.h
+++ b/vhost_user_sound.h
@@ -3,7 +3,7 @@
*
* Copyright 2020 Red Hat, Inc.
*
- * Copyright (c) 2023-2024 Virtual Open Systems SAS.
+ * Copyright (c) 2023 Virtual Open Systems SAS.
*
* This work is licensed under the terms of the GNU GPL, version 2 or
* (at your option) any later version. See the COPYING file in the
diff --git a/virtio_loopback.h b/virtio_loopback.h
index c348a19..62e404c 100644
--- a/virtio_loopback.h
+++ b/virtio_loopback.h
@@ -16,7 +16,7 @@
*
* 3) vhost.h of QEMU project
*
- * Copyright 2022-2024 Virtual Open Systems SAS.
+ * Copyright 2022-2023 Virtual Open Systems SAS.
*
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
@@ -165,7 +165,6 @@
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_BUF _IOC(_IOC_WRITE, 'k', 6, sizeof(uint64_t))
#define SHARE_COM_STRUCT _IOC(_IOC_WRITE, 'k', 7, 0)
#define VIRTIO_PCI_VRING_ALIGN 4096