summary refs log tree commit diff stats
path: root/include/net/vhost-user.h
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2025-07-09 10:24:21 +0200
committerJason Wang <jasowang@redhat.com>2025-07-14 13:27:09 +0800
commit1652f1b335fb5bec921c64ff7f378e6732510ca4 (patch)
treee12898426fc54280467eac9723d8de8e87492bbb /include/net/vhost-user.h
parentbd38794a1119ec8e3f0a7473458ce4cdd229bc42 (diff)
downloadfocaccia-qemu-1652f1b335fb5bec921c64ff7f378e6732510ca4.tar.gz
focaccia-qemu-1652f1b335fb5bec921c64ff7f378e6732510ca4.zip
net: Add save_acked_features callback to vhost_net
This commit introduces a save_acked_features function pointer to
vhost_net and converts the vhost_net function into a generic dispatcher.

The vhost-user backend provides the callback, making its function static.
With this change, no other module has a direct dependency on the
vhost-user implementation.

This cleanup allows for the complete removal of the net/vhost-user.h
header file.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include/net/vhost-user.h')
-rw-r--r--include/net/vhost-user.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/net/vhost-user.h b/include/net/vhost-user.h
deleted file mode 100644
index a4d0ce4b8d..0000000000
--- a/include/net/vhost-user.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * vhost-user.h
- *
- * Copyright (c) 2013 Virtual Open Systems Sarl.
- *
- * This work is licensed under the terms of the GNU GPL, version 2 or later.
- * See the COPYING file in the top-level directory.
- *
- */
-
-#ifndef VHOST_USER_H
-#define VHOST_USER_H
-
-void vhost_user_save_acked_features(NetClientState *nc);
-
-#endif /* VHOST_USER_H */