Skip to content

Description of SimpleHandler #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Description of SimpleHandler #21

wants to merge 2 commits into from

Conversation

hghai14
Copy link

@hghai14 hghai14 commented Sep 12, 2022

No description provided.

@@ -0,0 +1,62 @@
# SimpleHandler

It maintains a pair of queue `RX/TX`. These queues would be used for packets tranfer(communication) between VM and `net` device. This is used along with MMIO between the guest and the devices.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing

Copy link
Owner

@codenet codenet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please work with other SimpleHandler PR authors to come up with a single SimpleHandler PR.

) -> result::Result<u32, Error>
```
It iterates over chain to read data from guest address space into `txbuf`. Using `txbuf` it further writes data into the tap device.
<hr>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can replace hr with markdown syntax for lines.

To create a horizontal rule, use three or more asterisks (***), dashes (---), or underscores (___) on a line by themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants