Browse Source
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>pull/294/head
committed by
Jason Wang
9 changed files with 13 additions and 25 deletions
@ -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 */ |
|||
Loading…
Reference in new issue