vmsilo fork of vhost rust libraries
Find a file
Sebastien Boeuf a0d7fb9200 Provide the thread ID to handle_event()
By adding a "thread_id" parameter to handle_event(), the backend crate
can now indicate to the backend implementation which thread triggered
the processing of some events.

This is applied to vhost-user-net backend and allows for simplifying a
lot the code since each thread is identical.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2020-11-25 17:01:17 +01:00
src Provide the thread ID to handle_event() 2020-11-25 17:01:17 +01:00
.gitmodules Initial commit 2020-09-17 13:51:21 +03:00
Cargo.toml Initial commit 2020-09-17 13:51:21 +03:00
CODEOWNERS Initial commit 2020-09-17 13:51:21 +03:00
coverage_config.json Initial commit 2020-09-17 13:51:21 +03:00
LICENSE-APACHE Initial commit 2020-09-17 13:51:21 +03:00
README.md Initial commit 2020-09-17 13:51:21 +03:00

Crate Name

Design

TODO: This section should have a high-level design of the crate.

Some questions that might help in writing this section:

  • What is the purpose of this crate?
  • What are the main components of the crate? How do they interact which each other?

Usage

TODO: This section describes how the crate is used.

Some questions that might help in writing this section:

  • What traits do users need to implement?
  • Does the crate have any default/optional features? What is each feature doing?
  • Is this crate used by other rust-vmm components? If yes, how?

Examples

TODO: Usage examples.

use my_crate;

...

License

!!!NOTICE: The BSD-3-Clause license is not included in this template. The license needs to be manually added because the text of the license file also includes the copyright. The copyright can be different for different crates. If the crate contains code from CrosVM, the crate must add the CrosVM copyright which can be found here. For crates developed from scratch, the copyright is different and depends on the contributors.