-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vhost-user-backend: set event_idx boolean at set_features
A frontend can skip the call to set_vring_base, assuming the ring will be initialized at 0. If that frontend acknowledge EVENT_IDX vring and VhostUserHandler backend will never know they need to use event idx. Move the features configuration of the vring and the backend to set_features method. Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
- Loading branch information
1 parent
bd6bf13
commit 043d0d8
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters